#602AA1#602AA1
#602AA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.180 H 299.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #602AA1 |
|---|---|
| RGB | rgb(96, 42, 161) |
| HSL | hsl(267, 59%, 40%) |
| HSV | hsv(267, 74%, 63%) |
| CMYK | cmyk(40.4%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(31.15, 48.17, -54.88) |
| CIE-LCH | lch(31.15, 73.03, 311.28°) |
| OKLab | oklab(42.8% 0.0879 -0.1568) |
| OKLCH | oklch(42.8% 0.18 299.3) |
| XYZ | xyz(12.0832, 6.7158, 34.3710) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.82
Purple (survey)
#7E1E9C
ΔE00 6.09
Purple Blue
#5D21D0
ΔE00 6.52
Violet Blue
#510AC9
ΔE00 6.77
Indigo Blue
#3A18B1
ΔE00 6.83
Blue With A Hint Of Purple
#533CC6
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602AA1 #6BA12A
analogous
#2A2FA1 #602AA1 #9C2AA1
triadic
#602AA1 #A1602A #2AA160
tetradic
#602AA1 #A12A2F #6BA12A #2AA19C
square
#602AA1 #A12A2F #6BA12A #2AA19C
split-complementary
#602AA1 #A19C2A #2FA12A
monochromatic
#261140 #431D70 #602AA1 #7D3CCC #9E6DD9
Accessibility & contrast
On white
8.96
#602AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#602AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602AA1
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602AA1 | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#514863
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #602aa1; /* rgb */ color: rgb(96, 42, 161); /* oklch */ color: oklch(42.8% 0.180 299.3);
Tailwind
colors: {
custom: {
50: '#9369be',
500: '#602aa1',
950: '#000000',
},
}SCSS
$custom: #602aa1; $custom-light: #9369be; $custom-dark: #000000;
JSON
{
"hex": "#602aa1",
"rgb": {
"r": 96,
"g": 42,
"b": 161
},
"hsl": {
"h": 267.227,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.42803,
"c": 0.17973,
"h": 299.3
},
"luminance": 0.06716
}Semantic roles & 50–950 ramp
primary
#602AA1
secondary
#97C067
accent
#E2469B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81