#602E96#602E96
#602E96 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.162 H 301.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #602E96 |
|---|---|
| RGB | rgb(96, 46, 150) |
| HSL | hsl(269, 53%, 38%) |
| HSV | hsv(269, 69%, 59%) |
| CMYK | cmyk(36%, 69.3%, 0%, 41.2%) |
| CIE-LAB | lab(30.98, 43.39, -48.47) |
| CIE-LCH | lch(30.98, 65.05, 311.84°) |
| OKLab | oklab(42.41% 0.0857 -0.1379) |
| OKLCH | oklch(42.41% 0.162 301.9) |
| XYZ | xyz(11.3046, 6.6428, 29.5349) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 1.59
Purple (survey)
#7E1E9C
ΔE00 5.93
Darkslateblue
#483D8B
ΔE00 7.09
Blueberry
#464196
ΔE00 8.07
Indigo
#4B0082
ΔE00 8.15
Ocean Blue
#4F42B5
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602E96 #64962E
analogous
#2E3096 #602E96 #942E96
triadic
#602E96 #96602E #2E9660
tetradic
#602E96 #962E30 #64962E #2E9694
square
#602E96 #962E30 #64962E #2E9694
split-complementary
#602E96 #96942E #30962E
monochromatic
#241138 #422067 #602E96 #7E3EC4 #9D6CD2
Accessibility & contrast
On white
9.02
#602E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#602E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602E96
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602E96 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#55465E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #602e96; /* rgb */ color: rgb(96, 46, 150); /* oklch */ color: oklch(42.4% 0.162 301.9);
Tailwind
colors: {
custom: {
50: '#926bb6',
500: '#602e96',
950: '#000000',
},
}SCSS
$custom: #602e96; $custom-light: #926bb6; $custom-dark: #000000;
JSON
{
"hex": "#602e96",
"rgb": {
"r": 96,
"g": 46,
"b": 150
},
"hsl": {
"h": 268.846,
"s": 53.061,
"l": 38.431
},
"oklch": {
"l": 0.42408,
"c": 0.1624,
"h": 301.9
},
"luminance": 0.06643
}Semantic roles & 50–950 ramp
primary
#602E96
secondary
#91B967
accent
#DC4B97
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0711
muted
#7E7A80