#6B1899#6B1899
#6B1899 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.8% C 0.192 H 309.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1899 |
|---|---|
| RGB | rgb(107, 24, 153) |
| HSL | hsl(279, 73%, 35%) |
| HSV | hsv(279, 84%, 60%) |
| CMYK | cmyk(30.1%, 84.3%, 0%, 40%) |
| CIE-LAB | lab(29.61, 55.19, -52.46) |
| CIE-LCH | lch(29.61, 76.14, 316.46°) |
| OKLab | oklab(41.85% 0.121 -0.1491) |
| OKLCH | oklch(41.85% 0.192 309.1) |
| XYZ | xyz(12.1386, 6.0792, 30.6648) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.87
Rebeccapurple
#663399
ΔE00 4.65
Indigo
#4B0082
ΔE00 6.87
Purple
#800080
ΔE00 7.11
Darkmagenta
#8B008B
ΔE00 7.40
Violet Blue
#510AC9
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1899 #469918
analogous
#2B1899 #6B1899 #991886
triadic
#6B1899 #996B18 #18996B
tetradic
#6B1899 #992B18 #469918 #188699
square
#6B1899 #992B18 #469918 #188699
split-complementary
#6B1899 #869918 #18992B
monochromatic
#21072F #461064 #6B1899 #9020CE #AC49E2
Accessibility & contrast
On white
9.48
#6B1899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6B1899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1899
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1899 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#643B5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6b1899; /* rgb */ color: rgb(107, 24, 153); /* oklch */ color: oklch(41.8% 0.192 309.1);
Tailwind
colors: {
custom: {
50: '#9b62b8',
500: '#6b1899',
950: '#000000',
},
}SCSS
$custom: #6b1899; $custom-light: #9b62b8; $custom-dark: #000000;
JSON
{
"hex": "#6b1899",
"rgb": {
"r": 107,
"g": 24,
"b": 153
},
"hsl": {
"h": 278.605,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.41847,
"c": 0.19205,
"h": 309.1
},
"luminance": 0.06079
}Semantic roles & 50–950 ramp
primary
#6B1899
secondary
#75C449
accent
#F0387A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80