Skip to content

#6900eb

a balanced, electric violet · warm · closest name: blue

RGB
105, 0, 235
HSL
267°, 100%, 46%
CMYK
55, 100, 0, 8
Luminance
0.0900

Every format

HEX#6900eb
RGBrgb(105, 0, 235)
HSLhsl(267, 100%, 46%)
CMYKcmyk(55%, 100%, 0%, 8%)
LABlab(36.0 77.3 -90.3)
LCHlch(36.0 118.8 310.6)
OKLCHoklch(0.485 0.275 289.5)

Copy-ready code

/* CSS */
color: #6900eb;
background-color: #6900eb;
/* Tailwind (arbitrary) */
class="text-[#6900eb] bg-[#6900eb]"
/* SCSS */
$brand: #6900eb;
/* SwiftUI */
Color(red: 0.412, green: 0.000, blue: 0.922)
/* Android */
Color.parseColor("#6900eb")

Accessibility — WCAG contrast

Aa
#6900eb on white: 7.50:1
AA ✓ pass · AA-large · AAA
Aa
#6900eb on black: 2.80:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red41.2%
Green0.0%
Blue92.2%

CMYK percentages

Cyan55.3%
Magenta100.0%
Yellow0.0%
Key (black)7.8%

Color previews

#6900eb text on a black background

contrast 2.80:1

Card sample

#6900eb text on a white background

contrast 7.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6900eb;
Background color
Panel with #6900eb background
background-color: #6900eb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6900eb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(105, 0, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(105, 0, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6900eb;
background: linear-gradient(135deg, #6900eb, #EB00D0);

Monochromatic scale

Palettes built from #6900eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6900eb in the Color Lab