#604CA2#604CA2
#604CA2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.0% C 0.134 H 291.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #604CA2 |
|---|---|
| RGB | rgb(96, 76, 162) |
| HSL | hsl(254, 36%, 47%) |
| HSV | hsv(254, 53%, 64%) |
| CMYK | cmyk(40.7%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(38.31, 29.50, -43.91) |
| CIE-LCH | lch(38.31, 52.90, 303.90°) |
| OKLab | oklab(48.03% 0.0484 -0.1246) |
| OKLCH | oklch(48.03% 0.134 291.2) |
| XYZ | xyz(13.9281, 10.2639, 35.4227) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.47
Blueberry
#464196
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.29
Twilight
#4E518B
ΔE00 6.43
Iris
#6258C4
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CA2 #8EA24C
analogous
#4C63A2 #604CA2 #8B4CA2
triadic
#604CA2 #A2604C #4CA260
tetradic
#604CA2 #A24C63 #8EA24C #4CA28B
square
#604CA2 #A24C63 #8EA24C #4CA28B
split-complementary
#604CA2 #A28B4C #63A24C
monochromatic
#2F254F #473878 #604CA2 #8170BC #A699CF
Accessibility & contrast
On white
6.88
#604CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#604CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CA2
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CA2 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#4E5E6F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #604ca2; /* rgb */ color: rgb(96, 76, 162); /* oklch */ color: oklch(48.0% 0.134 291.2);
Tailwind
colors: {
custom: {
50: '#917ebe',
500: '#604ca2',
950: '#000000',
},
}SCSS
$custom: #604ca2; $custom-light: #917ebe; $custom-dark: #000000;
JSON
{
"hex": "#604ca2",
"rgb": {
"r": 96,
"g": 76,
"b": 162
},
"hsl": {
"h": 253.953,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.48031,
"c": 0.13365,
"h": 291.2
},
"luminance": 0.10264
}Semantic roles & 50–950 ramp
primary
#604CA2
secondary
#B1BC8E
accent
#CC5CB2
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81