#604CA0#604CA0
#604CA0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 47.9% C 0.131 H 291.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #604CA0 |
|---|---|
| RGB | rgb(96, 76, 160) |
| HSL | hsl(254, 36%, 46%) |
| HSV | hsv(254, 53%, 63%) |
| CMYK | cmyk(40%, 52.5%, 0%, 37.3%) |
| CIE-LAB | lab(38.19, 28.92, -42.91) |
| CIE-LCH | lch(38.19, 51.75, 303.98°) |
| OKLab | oklab(47.9% 0.0483 -0.1216) |
| OKLCH | oklch(47.9% 0.131 291.7) |
| XYZ | xyz(13.7518, 10.1934, 34.4939) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 5.18
Blueberry
#464196
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.17
Twilight
#4E518B
ΔE00 6.25
Iris
#6258C4
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CA0 #8CA04C
analogous
#4C62A0 #604CA0 #8A4CA0
triadic
#604CA0 #A0604C #4CA060
tetradic
#604CA0 #A04C62 #8CA04C #4CA08A
square
#604CA0 #A04C62 #8CA04C #4CA08A
split-complementary
#604CA0 #A08A4C #62A04C
monochromatic
#2E254D #473877 #604CA0 #816FBA #A598CE
Accessibility & contrast
On white
6.91
#604CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#604CA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CA0
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CA0 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#4F5D6E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #604ca0; /* rgb */ color: rgb(96, 76, 160); /* oklch */ color: oklch(47.9% 0.131 291.7);
Tailwind
colors: {
custom: {
50: '#917ebc',
500: '#604ca0',
950: '#000000',
},
}SCSS
$custom: #604ca0; $custom-light: #917ebc; $custom-dark: #000000;
JSON
{
"hex": "#604ca0",
"rgb": {
"r": 96,
"g": 76,
"b": 160
},
"hsl": {
"h": 254.286,
"s": 35.593,
"l": 46.275
},
"oklch": {
"l": 0.47898,
"c": 0.13087,
"h": 291.7
},
"luminance": 0.10194
}Semantic roles & 50–950 ramp
primary
#604CA0
secondary
#B0BB8D
accent
#CC5CB1
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81