#602A9B#602A9B
#602A9B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.173 H 301.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #602A9B |
|---|---|
| RGB | rgb(96, 42, 155) |
| HSL | hsl(269, 57%, 39%) |
| HSV | hsv(269, 73%, 61%) |
| CMYK | cmyk(38.1%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(30.66, 46.65, -52.03) |
| CIE-LCH | lch(30.66, 69.88, 311.87°) |
| OKLab | oklab(42.31% 0.0891 -0.1484) |
| OKLCH | oklch(42.31% 0.173 301) |
| XYZ | xyz(11.5668, 6.5092, 31.6510) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.38
Purple (survey)
#7E1E9C
ΔE00 5.82
Indigo Blue
#3A18B1
ΔE00 7.36
Purple Blue
#5D21D0
ΔE00 7.47
Violet Blue
#510AC9
ΔE00 7.58
Indigo
#4B0082
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602A9B #659B2A
analogous
#2A2C9B #602A9B #982A9B
triadic
#602A9B #9B602A #2A9B60
tetradic
#602A9B #9B2A2C #659B2A #2A9B98
square
#602A9B #9B2A2C #659B2A #2A9B98
split-complementary
#602A9B #9B982A #2C9B2A
monochromatic
#24103B #421D6B #602A9B #7E39C9 #9D69D6
Accessibility & contrast
On white
9.12
#602A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#602A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602A9B
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602A9B | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#534660
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #602a9b; /* rgb */ color: rgb(96, 42, 155); /* oklch */ color: oklch(42.3% 0.173 301.0);
Tailwind
colors: {
custom: {
50: '#9268b9',
500: '#602a9b',
950: '#000000',
},
}SCSS
$custom: #602a9b; $custom-light: #9268b9; $custom-dark: #000000;
JSON
{
"hex": "#602a9b",
"rgb": {
"r": 96,
"g": 42,
"b": 155
},
"hsl": {
"h": 268.673,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.42305,
"c": 0.17311,
"h": 301
},
"luminance": 0.06509
}Semantic roles & 50–950 ramp
primary
#602A9B
secondary
#92BD64
accent
#E14797
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81