#6B1994#6B1994
#6B1994 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.187 H 310.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1994 |
|---|---|
| RGB | rgb(107, 25, 148) |
| HSL | hsl(280, 71%, 34%) |
| HSV | hsv(280, 83%, 58%) |
| CMYK | cmyk(27.7%, 83.1%, 0%, 42%) |
| CIE-LAB | lab(29.31, 53.81, -49.88) |
| CIE-LCH | lch(29.31, 73.37, 317.17°) |
| OKLab | oklab(41.51% 0.1217 -0.1415) |
| OKLCH | oklch(41.51% 0.187 310.7) |
| XYZ | xyz(11.7553, 5.9595, 28.5423) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.78
Rebeccapurple
#663399
ΔE00 4.70
Purple
#800080
ΔE00 6.49
Indigo
#4B0082
ΔE00 6.76
Darkmagenta
#8B008B
ΔE00 6.96
Darkish Purple
#751973
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1994 #429419
analogous
#2E1994 #6B1994 #941980
triadic
#6B1994 #946B19 #19946B
tetradic
#6B1994 #942E19 #429419 #198094
square
#6B1994 #942E19 #429419 #198094
split-complementary
#6B1994 #809419 #19942E
monochromatic
#1F072B #451060 #6B1994 #9122C8 #AD47E0
Accessibility & contrast
On white
9.58
#6B1994 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#6B1994 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1994
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1994 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1994 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#653958
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6b1994; /* rgb */ color: rgb(107, 25, 148); /* oklch */ color: oklch(41.5% 0.187 310.7);
Tailwind
colors: {
custom: {
50: '#9a62b4',
500: '#6b1994',
950: '#000000',
},
}SCSS
$custom: #6b1994; $custom-light: #9a62b4; $custom-dark: #000000;
JSON
{
"hex": "#6b1994",
"rgb": {
"r": 107,
"g": 25,
"b": 148
},
"hsl": {
"h": 280,
"s": 71.098,
"l": 33.922
},
"oklch": {
"l": 0.4151,
"c": 0.18665,
"h": 310.7
},
"luminance": 0.05959
}Semantic roles & 50–950 ramp
primary
#6B1994
secondary
#70C147
accent
#EE3A76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80