#6C1F92#6C1F92
#6C1F92 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.179 H 311.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1F92 |
|---|---|
| RGB | rgb(108, 31, 146) |
| HSL | hsl(280, 65%, 35%) |
| HSV | hsv(280, 79%, 57%) |
| CMYK | cmyk(26%, 78.8%, 0%, 42.7%) |
| CIE-LAB | lab(30.02, 51.51, -47.49) |
| CIE-LCH | lch(30.02, 70.06, 317.32°) |
| OKLab | oklab(41.99% 0.1186 -0.1345) |
| OKLCH | oklch(41.99% 0.179 311.4) |
| XYZ | xyz(11.8617, 6.2438, 27.7689) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.39
Rebeccapurple
#663399
ΔE00 4.12
Purple
#800080
ΔE00 6.23
Darkmagenta
#8B008B
ΔE00 6.65
Darkish Purple
#751973
ΔE00 7.04
Indigo
#4B0082
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1F92 #45921F
analogous
#331F92 #6C1F92 #921F7F
triadic
#6C1F92 #926C1F #1F926C
tetradic
#6C1F92 #92331F #45921F #1F7F92
square
#6C1F92 #92331F #45921F #1F7F92
split-complementary
#6C1F92 #7F921F #1F9233
monochromatic
#210A2D #471460 #6C1F92 #912AC4 #AD51DA
Accessibility & contrast
On white
9.34
#6C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6C1F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1F92
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1F92 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#044890
Tritanopia (blue-blind)
#673B58
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c1f92; /* rgb */ color: rgb(108, 31, 146); /* oklch */ color: oklch(42.0% 0.179 311.4);
Tailwind
colors: {
custom: {
50: '#9a64b3',
500: '#6c1f92',
950: '#000000',
},
}SCSS
$custom: #6c1f92; $custom-light: #9a64b3; $custom-dark: #000000;
JSON
{
"hex": "#6c1f92",
"rgb": {
"r": 108,
"g": 31,
"b": 146
},
"hsl": {
"h": 280.174,
"s": 64.972,
"l": 34.706
},
"oklch": {
"l": 0.4199,
"c": 0.17934,
"h": 311.4
},
"luminance": 0.06243
}Semantic roles & 50–950 ramp
primary
#6C1F92
secondary
#74BD50
accent
#E84077
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80