#6A2499#6A2499
#6A2499 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.180 H 307.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2499 |
|---|---|
| RGB | rgb(106, 36, 153) |
| HSL | hsl(276, 62%, 37%) |
| HSV | hsv(276, 76%, 60%) |
| CMYK | cmyk(30.7%, 76.5%, 0%, 40%) |
| CIE-LAB | lab(30.94, 50.74, -50.30) |
| CIE-LCH | lch(30.94, 71.45, 315.25°) |
| OKLab | oklab(42.75% 0.1098 -0.1429) |
| OKLCH | oklch(42.75% 0.18 307.5) |
| XYZ | xyz(12.3233, 6.6260, 30.7606) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.01
Purple (survey)
#7E1E9C
ΔE00 3.73
Purple
#800080
ΔE00 7.63
Darkmagenta
#8B008B
ΔE00 7.76
Indigo
#4B0082
ΔE00 7.78
Purple Blue
#5D21D0
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2499 #539924
analogous
#2F2499 #6A2499 #99248E
triadic
#6A2499 #996A24 #24996A
tetradic
#6A2499 #992F24 #539924 #248E99
square
#6A2499 #992F24 #539924 #248E99
split-complementary
#6A2499 #8E9924 #24992F
monochromatic
#250D36 #481867 #6A2499 #8C30CB #A85ED9
Accessibility & contrast
On white
9.03
#6A2499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6A2499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2499
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2499 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#62415D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a2499; /* rgb */ color: rgb(106, 36, 153); /* oklch */ color: oklch(42.7% 0.180 307.5);
Tailwind
colors: {
custom: {
50: '#9966b8',
500: '#6a2499',
950: '#000000',
},
}SCSS
$custom: #6a2499; $custom-light: #9966b8; $custom-dark: #000000;
JSON
{
"hex": "#6a2499",
"rgb": {
"r": 106,
"g": 36,
"b": 153
},
"hsl": {
"h": 275.897,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.42746,
"c": 0.18021,
"h": 307.5
},
"luminance": 0.06626
}Semantic roles & 50–950 ramp
primary
#6A2499
secondary
#83BE5B
accent
#E54384
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80