#602A9A#602A9A
#602A9A is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.2% C 0.172 H 301.3°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #602A9A |
|---|---|
| RGB | rgb(96, 42, 154) |
| HSL | hsl(269, 57%, 38%) |
| HSV | hsv(269, 73%, 60%) |
| CMYK | cmyk(37.7%, 72.7%, 0%, 39.6%) |
| CIE-LAB | lab(30.58, 46.39, -51.55) |
| CIE-LCH | lch(30.58, 69.36, 311.98°) |
| OKLab | oklab(42.22% 0.0893 -0.147) |
| OKLCH | oklch(42.22% 0.172 301.3) |
| XYZ | xyz(11.4832, 6.4758, 31.2106) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.33
Purple (survey)
#7E1E9C
ΔE00 5.79
Indigo Blue
#3A18B1
ΔE00 7.46
Indigo
#4B0082
ΔE00 7.63
Purple Blue
#5D21D0
ΔE00 7.64
Violet Blue
#510AC9
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602A9A #649A2A
analogous
#2A2C9A #602A9A #982A9A
triadic
#602A9A #9A602A #2A9A60
tetradic
#602A9A #9A2A2C #649A2A #2A9A98
square
#602A9A #9A2A2C #649A2A #2A9A98
split-complementary
#602A9A #9A982A #2C9A2A
monochromatic
#24103A #421D6A #602A9A #7E38C9 #9D68D6
Accessibility & contrast
On white
9.15
#602A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#602A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602A9A
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602A9A | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004798
Tritanopia (blue-blind)
#53455F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #602a9a; /* rgb */ color: rgb(96, 42, 154); /* oklch */ color: oklch(42.2% 0.172 301.3);
Tailwind
colors: {
custom: {
50: '#9268b9',
500: '#602a9a',
950: '#000000',
},
}SCSS
$custom: #602a9a; $custom-light: #9268b9; $custom-dark: #000000;
JSON
{
"hex": "#602a9a",
"rgb": {
"r": 96,
"g": 42,
"b": 154
},
"hsl": {
"h": 268.929,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.42223,
"c": 0.172,
"h": 301.3
},
"luminance": 0.06476
}Semantic roles & 50–950 ramp
primary
#602A9A
secondary
#91BC63
accent
#E04797
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80