#6E1F99#6E1F99
#6E1F99 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.187 H 310.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1F99 |
|---|---|
| RGB | rgb(110, 31, 153) |
| HSL | hsl(279, 66%, 36%) |
| HSV | hsv(279, 80%, 60%) |
| CMYK | cmyk(28.1%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(30.87, 53.40, -50.39) |
| CIE-LCH | lch(30.87, 73.42, 316.66°) |
| OKLab | oklab(42.82% 0.1199 -0.143) |
| OKLCH | oklch(42.82% 0.187 310) |
| XYZ | xyz(12.6690, 6.5952, 30.7364) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.02
Rebeccapurple
#663399
ΔE00 3.87
Purple
#800080
ΔE00 6.85
Darkmagenta
#8B008B
ΔE00 6.93
Indigo
#4B0082
ΔE00 7.84
Darkish Purple
#751973
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1F99 #4A991F
analogous
#311F99 #6E1F99 #991F87
triadic
#6E1F99 #996E1F #1F996E
tetradic
#6E1F99 #99311F #4A991F #1F8799
square
#6E1F99 #99311F #4A991F #1F8799
split-complementary
#6E1F99 #87991F #1F9931
monochromatic
#250A33 #491566 #6E1F99 #9329CC #AD56DD
Accessibility & contrast
On white
9.06
#6E1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6E1F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1F99
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1F99 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#683E5C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e1f99; /* rgb */ color: rgb(110, 31, 153); /* oklch */ color: oklch(42.8% 0.187 310.0);
Tailwind
colors: {
custom: {
50: '#9c65b8',
500: '#6e1f99',
950: '#000000',
},
}SCSS
$custom: #6e1f99; $custom-light: #9c65b8; $custom-dark: #000000;
JSON
{
"hex": "#6e1f99",
"rgb": {
"r": 110,
"g": 31,
"b": 153
},
"hsl": {
"h": 278.852,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.42818,
"c": 0.18658,
"h": 310
},
"luminance": 0.06595
}Semantic roles & 50–950 ramp
primary
#6E1F99
secondary
#7AC054
accent
#E93F7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80