#6A2899#6A2899
#6A2899 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.176 H 307.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #6A2899 |
|---|---|
| RGB | rgb(106, 40, 153) |
| HSL | hsl(275, 59%, 38%) |
| HSV | hsv(275, 74%, 60%) |
| CMYK | cmyk(30.7%, 73.9%, 0%, 40%) |
| CIE-LAB | lab(31.54, 49.04, -49.33) |
| CIE-LCH | lch(31.54, 69.56, 314.83°) |
| OKLab | oklab(43.17% 0.1059 -0.1401) |
| OKLCH | oklch(43.17% 0.176 307.1) |
| XYZ | xyz(12.4512, 6.8818, 30.8032) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.35
Purple (survey)
#7E1E9C
ΔE00 3.81
Purple
#800080
ΔE00 7.88
Darkmagenta
#8B008B
ΔE00 7.94
Indigo
#4B0082
ΔE00 8.27
Purple Blue
#5D21D0
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A2899 #579928
analogous
#312899 #6A2899 #99288F
triadic
#6A2899 #996A28 #28996A
tetradic
#6A2899 #993128 #579928 #288F99
square
#6A2899 #993128 #579928 #288F99
split-complementary
#6A2899 #8F9928 #289931
monochromatic
#270F38 #481B68 #6A2899 #8C35CA #A765D7
Accessibility & contrast
On white
8.84
#6A2899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6A2899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A2899
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A2899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A2899 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#62435E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a2899; /* rgb */ color: rgb(106, 40, 153); /* oklch */ color: oklch(43.2% 0.176 307.1);
Tailwind
colors: {
custom: {
50: '#9968b8',
500: '#6a2899',
950: '#000000',
},
}SCSS
$custom: #6a2899; $custom-light: #9968b8; $custom-dark: #000000;
JSON
{
"hex": "#6a2899",
"rgb": {
"r": 106,
"g": 40,
"b": 153
},
"hsl": {
"h": 275.044,
"s": 58.549,
"l": 37.843
},
"oklch": {
"l": 0.43167,
"c": 0.17561,
"h": 307.1
},
"luminance": 0.06882
}Semantic roles & 50–950 ramp
primary
#6A2899
secondary
#87BD60
accent
#E24687
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80