#6E51BF#6E51BF
#6E51BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.165 H 291.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6E51BF |
|---|---|
| RGB | rgb(110, 81, 191) |
| HSL | hsl(256, 46%, 53%) |
| HSV | hsv(256, 58%, 75%) |
| CMYK | cmyk(42.4%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(42.70, 38.16, -53.90) |
| CIE-LCH | lch(42.70, 66.04, 305.30°) |
| OKLab | oklab(52.21% 0.0614 -0.1535) |
| OKLCH | oklch(52.21% 0.165 291.8) |
| XYZ | xyz(18.7742, 12.9609, 50.7926) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 3.68
Light Indigo
#6D5ACF
ΔE00 3.70
Bluey Purple
#6241C7
ΔE00 4.80
Royal Purple
#7851A9
ΔE00 4.89
Dark Periwinkle
#665FD1
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E51BF #A2BF51
analogous
#516BBF #6E51BF #A551BF
triadic
#6E51BF #BF6E51 #51BF6E
tetradic
#6E51BF #BF516B #A2BF51 #51BFA5
square
#6E51BF #BF516B #A2BF51 #51BFA5
split-complementary
#6E51BF #BFA551 #6BBF51
monochromatic
#3A286D #52399A #6E51BF #937ECF #B9AAE0
Accessibility & contrast
On white
5.85
#6E51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6E51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E51BF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E51BF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#576980
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6e51bf; /* rgb */ color: rgb(110, 81, 191); /* oklch */ color: oklch(52.2% 0.165 291.8);
Tailwind
colors: {
custom: {
50: '#9d83d3',
500: '#6e51bf',
950: '#000000',
},
}SCSS
$custom: #6e51bf; $custom-light: #9d83d3; $custom-dark: #000000;
JSON
{
"hex": "#6e51bf",
"rgb": {
"r": 110,
"g": 81,
"b": 191
},
"hsl": {
"h": 255.818,
"s": 46.218,
"l": 53.333
},
"oklch": {
"l": 0.52205,
"c": 0.16531,
"h": 291.8
},
"luminance": 0.12961
}Semantic roles & 50–950 ramp
primary
#6E51BF
secondary
#C1CE9E
accent
#D652B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A14
muted
#7F7C83