#604CA5#604CA5
#604CA5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.2% C 0.138 H 290.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #604CA5 |
|---|---|
| RGB | rgb(96, 76, 165) |
| HSL | hsl(253, 37%, 47%) |
| HSV | hsv(253, 54%, 65%) |
| CMYK | cmyk(41.8%, 53.9%, 0%, 35.3%) |
| CIE-LAB | lab(38.50, 30.38, -45.40) |
| CIE-LCH | lch(38.50, 54.62, 303.79°) |
| OKLab | oklab(48.23% 0.0486 -0.1289) |
| OKLCH | oklch(48.23% 0.138 290.6) |
| XYZ | xyz(14.1980, 10.3719, 36.8439) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 5.06
Royal Purple
#7851A9
ΔE00 5.22
Blueberry
#464196
ΔE00 5.61
Iris
#6258C4
ΔE00 6.05
Bluey Purple
#6241C7
ΔE00 6.17
Darkslateblue
#483D8B
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CA5 #91A54C
analogous
#4C65A5 #604CA5 #8C4CA5
triadic
#604CA5 #A5604C #4CA560
tetradic
#604CA5 #A54C65 #91A54C #4CA58C
square
#604CA5 #A54C65 #91A54C #4CA58C
split-complementary
#604CA5 #A58C4C #65A54C
monochromatic
#2F2551 #48397B #604CA5 #8271BD #A79BD1
Accessibility & contrast
On white
6.83
#604CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#604CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CA5
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CA5 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#2659A3
Tritanopia (blue-blind)
#4D5F71
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #604ca5; /* rgb */ color: rgb(96, 76, 165); /* oklch */ color: oklch(48.2% 0.138 290.6);
Tailwind
colors: {
custom: {
50: '#917ec0',
500: '#604ca5',
950: '#000000',
},
}SCSS
$custom: #604ca5; $custom-light: #917ec0; $custom-dark: #000000;
JSON
{
"hex": "#604ca5",
"rgb": {
"r": 96,
"g": 76,
"b": 165
},
"hsl": {
"h": 253.483,
"s": 36.929,
"l": 47.255
},
"oklch": {
"l": 0.48233,
"c": 0.13779,
"h": 290.6
},
"luminance": 0.10372
}Semantic roles & 50–950 ramp
primary
#604CA5
secondary
#B3BD8F
accent
#CD5BB3
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81