#6E1B9B#6E1B9B
#6E1B9B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.192 H 309.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1B9B |
|---|---|
| RGB | rgb(110, 27, 155) |
| HSL | hsl(279, 70%, 36%) |
| HSV | hsv(279, 83%, 61%) |
| CMYK | cmyk(29%, 82.6%, 0%, 39.2%) |
| CIE-LAB | lab(30.56, 55.19, -52.12) |
| CIE-LCH | lch(30.56, 75.91, 316.64°) |
| OKLab | oklab(42.65% 0.1225 -0.148) |
| OKLCH | oklch(42.65% 0.192 309.6) |
| XYZ | xyz(12.7375, 6.4657, 31.5810) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.23
Rebeccapurple
#663399
ΔE00 4.32
Purple
#800080
ΔE00 7.00
Darkmagenta
#8B008B
ΔE00 7.08
Indigo
#4B0082
ΔE00 7.60
Darkish Purple
#751973
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1B9B #489B1B
analogous
#2E1B9B #6E1B9B #9B1B88
triadic
#6E1B9B #9B6E1B #1B9B6E
tetradic
#6E1B9B #9B2E1B #489B1B #1B889B
square
#6E1B9B #9B2E1B #489B1B #1B889B
split-complementary
#6E1B9B #889B1B #1B9B2E
monochromatic
#240933 #491267 #6E1B9B #9324CF #AE50E0
Accessibility & contrast
On white
9.16
#6E1B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6E1B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1B9B
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1B9B | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#673D5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e1b9b; /* rgb */ color: rgb(110, 27, 155); /* oklch */ color: oklch(42.7% 0.192 309.6);
Tailwind
colors: {
custom: {
50: '#9d63b9',
500: '#6e1b9b',
950: '#000000',
},
}SCSS
$custom: #6e1b9b; $custom-light: #9d63b9; $custom-dark: #000000;
JSON
{
"hex": "#6e1b9b",
"rgb": {
"r": 110,
"g": 27,
"b": 155
},
"hsl": {
"h": 278.906,
"s": 70.33,
"l": 35.686
},
"oklch": {
"l": 0.42651,
"c": 0.19216,
"h": 309.6
},
"luminance": 0.06465
}Semantic roles & 50–950 ramp
primary
#6E1B9B
secondary
#78C34F
accent
#ED3B79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81