#602FB4#602FB4
#602FB4 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.195 H 293.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #602FB4 |
|---|---|
| RGB | rgb(96, 47, 180) |
| HSL | hsl(262, 59%, 45%) |
| HSV | hsv(262, 74%, 71%) |
| CMYK | cmyk(46.7%, 73.9%, 0%, 29.4%) |
| CIE-LAB | lab(33.59, 50.77, -62.29) |
| CIE-LCH | lch(33.59, 80.36, 309.18°) |
| OKLab | oklab(45.03% 0.079 -0.1785) |
| OKLCH | oklch(45.03% 0.195 293.9) |
| XYZ | xyz(14.0763, 7.8147, 43.9379) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.04
Blurple
#5539CC
ΔE00 4.50
Blue With A Hint Of Purple
#533CC6
ΔE00 4.55
Rebeccapurple
#663399
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 5.02
Violet Blue
#510AC9
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#602FB4 #83B42F
analogous
#2F41B4 #602FB4 #A22FB4
triadic
#602FB4 #B4602F #2FB460
tetradic
#602FB4 #B42F41 #83B42F #2FB4A2
square
#602FB4 #B42F41 #83B42F #2FB4A2
split-complementary
#602FB4 #B4A22F #41B42F
monochromatic
#2C1653 #462283 #602FB4 #7F4FD1 #A280DE
Accessibility & contrast
On white
8.19
#602FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#602FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #602FB4
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##602FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##602FB4 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#47526F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #602fb4; /* rgb */ color: rgb(96, 47, 180); /* oklch */ color: oklch(45.0% 0.195 293.9);
Tailwind
colors: {
custom: {
50: '#956ccb',
500: '#602fb4',
950: '#000000',
},
}SCSS
$custom: #602fb4; $custom-light: #956ccb; $custom-dark: #000000;
JSON
{
"hex": "#602fb4",
"rgb": {
"r": 96,
"g": 47,
"b": 180
},
"hsl": {
"h": 262.105,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.45025,
"c": 0.19522,
"h": 293.9
},
"luminance": 0.07815
}Semantic roles & 50–950 ramp
primary
#602FB4
secondary
#AAC778
accent
#E246A8
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82