#6E1F9B#6E1F9B
#6E1F9B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.188 H 309.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1F9B |
|---|---|
| RGB | rgb(110, 31, 155) |
| HSL | hsl(278, 67%, 36%) |
| HSV | hsv(278, 80%, 61%) |
| CMYK | cmyk(29%, 80%, 0%, 39.2%) |
| CIE-LAB | lab(31.02, 53.83, -51.36) |
| CIE-LCH | lch(31.02, 74.40, 316.35°) |
| OKLab | oklab(42.98% 0.1194 -0.1458) |
| OKLCH | oklch(42.98% 0.188 309.3) |
| XYZ | xyz(12.8356, 6.6618, 31.6137) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.09
Rebeccapurple
#663399
ΔE00 3.83
Purple
#800080
ΔE00 7.12
Darkmagenta
#8B008B
ΔE00 7.13
Indigo
#4B0082
ΔE00 7.91
Darkish Purple
#751973
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1F9B #4C9B1F
analogous
#301F9B #6E1F9B #9B1F8A
triadic
#6E1F9B #9B6E1F #1F9B6E
tetradic
#6E1F9B #9B301F #4C9B1F #1F8A9B
square
#6E1F9B #9B301F #4C9B1F #1F8A9B
split-complementary
#6E1F9B #8A9B1F #1F9B30
monochromatic
#260B35 #4A1568 #6E1F9B #9229CE #AD57DD
Accessibility & contrast
On white
9.00
#6E1F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6E1F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1F9B
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1F9B | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#673E5D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e1f9b; /* rgb */ color: rgb(110, 31, 155); /* oklch */ color: oklch(43.0% 0.188 309.3);
Tailwind
colors: {
custom: {
50: '#9c65b9',
500: '#6e1f9b',
950: '#000000',
},
}SCSS
$custom: #6e1f9b; $custom-light: #9c65b9; $custom-dark: #000000;
JSON
{
"hex": "#6e1f9b",
"rgb": {
"r": 110,
"g": 31,
"b": 155
},
"hsl": {
"h": 278.226,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.42977,
"c": 0.18846,
"h": 309.3
},
"luminance": 0.06662
}Semantic roles & 50–950 ramp
primary
#6E1F9B
secondary
#7CC155
accent
#EA3E7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81