#602B7E#602B7E
#602B7E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 311.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #602B7E |
|---|---|
| RGB | rgb(96, 43, 126) |
| HSL | hsl(278, 49%, 33%) |
| HSV | hsv(278, 66%, 49%) |
| CMYK | cmyk(23.8%, 65.9%, 0%, 50.6%) |
| CIE-LAB | lab(28.70, 38.99, -37.27) |
| CIE-LCH | lch(28.70, 53.94, 316.30°) |
| OKLab | oklab(40.22% 0.0916 -0.105) |
| OKLCH | oklch(40.22% 0.139 311.1) |
| XYZ | xyz(9.4529, 5.7211, 20.3409) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.98
Darkish Purple
#751973
ΔE00 6.38
Purple (survey)
#7E1E9C
ΔE00 6.79
Purple
#800080
ΔE00 7.53
Royal Purple (survey)
#4B006E
ΔE00 7.91
Indigo
#4B0082
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602B7E #497E2B
analogous
#362B7E #602B7E #7E2B72
triadic
#602B7E #7E602B #2B7E60
tetradic
#602B7E #7E362B #497E2B #2B727E
square
#602B7E #7E362B #497E2B #2B727E
split-complementary
#602B7E #727E2B #2B7E36
monochromatic
#1A0C23 #3D1B50 #602B7E #833BAC #A15CC7
Accessibility & contrast
On white
9.79
#602B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#602B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602B7E
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602B7E | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024181
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#5C3B50
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #602b7e; /* rgb */ color: rgb(96, 43, 126); /* oklch */ color: oklch(40.2% 0.139 311.1);
Tailwind
colors: {
custom: {
50: '#9068a4',
500: '#602b7e',
950: '#000000',
},
}SCSS
$custom: #602b7e; $custom-light: #9068a4; $custom-dark: #000000;
JSON
{
"hex": "#602b7e",
"rgb": {
"r": 96,
"g": 43,
"b": 126
},
"hsl": {
"h": 278.313,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.40221,
"c": 0.13934,
"h": 311.1
},
"luminance": 0.05721
}Semantic roles & 50–950 ramp
primary
#602B7E
secondary
#77AD58
accent
#D94F81
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F