#6C1E99#6C1E99
#6C1E99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.187 H 309.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1E99 |
|---|---|
| RGB | rgb(108, 30, 153) |
| HSL | hsl(278, 67%, 36%) |
| HSV | hsv(278, 80%, 60%) |
| CMYK | cmyk(29.4%, 80.4%, 0%, 40%) |
| CIE-LAB | lab(30.44, 53.40, -51.10) |
| CIE-LCH | lch(30.44, 73.91, 316.26°) |
| OKLab | oklab(42.46% 0.1179 -0.1451) |
| OKLCH | oklch(42.46% 0.187 309.1) |
| XYZ | xyz(12.3972, 6.4168, 30.7163) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.43
Rebeccapurple
#663399
ΔE00 3.93
Purple
#800080
ΔE00 7.09
Darkmagenta
#8B008B
ΔE00 7.26
Indigo
#4B0082
ΔE00 7.46
Darkish Purple
#751973
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1E99 #4B991E
analogous
#2F1E99 #6C1E99 #991E88
triadic
#6C1E99 #996C1E #1E996C
tetradic
#6C1E99 #992F1E #4B991E #1E8899
square
#6C1E99 #992F1E #4B991E #1E8899
split-complementary
#6C1E99 #88991E #1E992F
monochromatic
#240A33 #481466 #6C1E99 #9028CC #AB54DD
Accessibility & contrast
On white
9.20
#6C1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6C1E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1E99
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1E99 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653D5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c1e99; /* rgb */ color: rgb(108, 30, 153); /* oklch */ color: oklch(42.5% 0.187 309.1);
Tailwind
colors: {
custom: {
50: '#9b64b8',
500: '#6c1e99',
950: '#000000',
},
}SCSS
$custom: #6c1e99; $custom-light: #9b64b8; $custom-dark: #000000;
JSON
{
"hex": "#6c1e99",
"rgb": {
"r": 108,
"g": 30,
"b": 153
},
"hsl": {
"h": 278.049,
"s": 67.213,
"l": 35.882
},
"oklch": {
"l": 0.42457,
"c": 0.18698,
"h": 309.1
},
"luminance": 0.06417
}Semantic roles & 50–950 ramp
primary
#6C1E99
secondary
#7BC152
accent
#EA3E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80