#6C1F99#6C1F99
#6C1F99 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.186 H 309.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1F99 |
|---|---|
| RGB | rgb(108, 31, 153) |
| HSL | hsl(278, 66%, 36%) |
| HSV | hsv(278, 80%, 60%) |
| CMYK | cmyk(29.4%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(30.56, 53.04, -50.90) |
| CIE-LCH | lch(30.56, 73.51, 316.18°) |
| OKLab | oklab(42.54% 0.1171 -0.1446) |
| OKLCH | oklch(42.54% 0.186 309) |
| XYZ | xyz(12.4229, 6.4683, 30.7249) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.40
Rebeccapurple
#663399
ΔE00 3.79
Purple
#800080
ΔE00 7.13
Darkmagenta
#8B008B
ΔE00 7.28
Indigo
#4B0082
ΔE00 7.55
Darkish Purple
#751973
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1F99 #4C991F
analogous
#2F1F99 #6C1F99 #991F89
triadic
#6C1F99 #996C1F #1F996C
tetradic
#6C1F99 #992F1F #4C991F #1F8999
square
#6C1F99 #992F1F #4C991F #1F8999
split-complementary
#6C1F99 #89991F #1F992F
monochromatic
#240A33 #481566 #6C1F99 #9029CC #AB56DD
Accessibility & contrast
On white
9.16
#6C1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6C1F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1F99
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1F99 | 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)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653E5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c1f99; /* rgb */ color: rgb(108, 31, 153); /* oklch */ color: oklch(42.5% 0.186 309.0);
Tailwind
colors: {
custom: {
50: '#9b64b8',
500: '#6c1f99',
950: '#000000',
},
}SCSS
$custom: #6c1f99; $custom-light: #9b64b8; $custom-dark: #000000;
JSON
{
"hex": "#6c1f99",
"rgb": {
"r": 108,
"g": 31,
"b": 153
},
"hsl": {
"h": 277.869,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.42543,
"c": 0.186,
"h": 309
},
"luminance": 0.06468
}Semantic roles & 50–950 ramp
primary
#6C1F99
secondary
#7CC054
accent
#E93F7E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80