#6A1699#6A1699
#6A1699 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.6% C 0.193 H 308.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1699 |
|---|---|
| RGB | rgb(106, 22, 153) |
| HSL | hsl(278, 75%, 34%) |
| HSV | hsv(278, 86%, 60%) |
| CMYK | cmyk(30.7%, 85.6%, 0%, 40%) |
| CIE-LAB | lab(29.26, 55.62, -53.04) |
| CIE-LCH | lch(29.26, 76.86, 316.36°) |
| OKLab | oklab(41.57% 0.121 -0.1509) |
| OKLCH | oklch(41.57% 0.193 308.7) |
| XYZ | xyz(11.9793, 5.9381, 30.6459) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 4.87
Indigo
#4B0082
ΔE00 6.60
Purple
#800080
ΔE00 7.24
Darkmagenta
#8B008B
ΔE00 7.58
Violet Blue
#510AC9
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1699 #459916
analogous
#281699 #6A1699 #991687
triadic
#6A1699 #996A16 #16996A
tetradic
#6A1699 #992816 #459916 #168799
square
#6A1699 #992816 #459916 #168799
split-complementary
#6A1699 #879916 #169928
monochromatic
#20072E #450E63 #6A1699 #8F1ECF #AB45E4
Accessibility & contrast
On white
9.60
#6A1699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#6A1699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1699
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1699 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#623B5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6a1699; /* rgb */ color: rgb(106, 22, 153); /* oklch */ color: oklch(41.6% 0.193 308.7);
Tailwind
colors: {
custom: {
50: '#9a61b8',
500: '#6a1699',
950: '#000000',
},
}SCSS
$custom: #6a1699; $custom-light: #9a61b8; $custom-dark: #000000;
JSON
{
"hex": "#6a1699",
"rgb": {
"r": 106,
"g": 22,
"b": 153
},
"hsl": {
"h": 278.473,
"s": 74.857,
"l": 34.314
},
"oklch": {
"l": 0.41568,
"c": 0.19337,
"h": 308.7
},
"luminance": 0.05938
}Semantic roles & 50–950 ramp
primary
#6A1699
secondary
#73C546
accent
#F13679
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0511
muted
#7E7A80