#6A1899#6A1899
#6A1899 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.192 H 308.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1899 |
|---|---|
| RGB | rgb(106, 24, 153) |
| HSL | hsl(278, 73%, 35%) |
| HSV | hsv(278, 84%, 60%) |
| CMYK | cmyk(30.7%, 84.3%, 0%, 40%) |
| CIE-LAB | lab(29.46, 55.03, -52.71) |
| CIE-LCH | lch(29.46, 76.21, 316.23°) |
| OKLab | oklab(41.71% 0.1196 -0.1499) |
| OKLCH | oklch(41.71% 0.192 308.6) |
| XYZ | xyz(12.0191, 6.0176, 30.6592) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.06
Rebeccapurple
#663399
ΔE00 4.65
Indigo
#4B0082
ΔE00 6.72
Purple
#800080
ΔE00 7.26
Darkmagenta
#8B008B
ΔE00 7.58
Violet Blue
#510AC9
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1899 #479918
analogous
#2A1899 #6A1899 #991887
triadic
#6A1899 #996A18 #18996A
tetradic
#6A1899 #992A18 #479918 #188799
square
#6A1899 #992A18 #479918 #188799
split-complementary
#6A1899 #879918 #18992A
monochromatic
#21072F #451064 #6A1899 #8F20CE #AB49E2
Accessibility & contrast
On white
9.53
#6A1899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#6A1899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1899
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1899 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#623B5B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6a1899; /* rgb */ color: rgb(106, 24, 153); /* oklch */ color: oklch(41.7% 0.192 308.6);
Tailwind
colors: {
custom: {
50: '#9a61b8',
500: '#6a1899',
950: '#000000',
},
}SCSS
$custom: #6a1899; $custom-light: #9a61b8; $custom-dark: #000000;
JSON
{
"hex": "#6a1899",
"rgb": {
"r": 106,
"g": 24,
"b": 153
},
"hsl": {
"h": 278.14,
"s": 72.881,
"l": 34.706
},
"oklch": {
"l": 0.41708,
"c": 0.19179,
"h": 308.6
},
"luminance": 0.06017
}Semantic roles & 50–950 ramp
primary
#6A1899
secondary
#76C449
accent
#F0387B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80