#604AB5#604AB5
#604AB5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.162 H 288.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #604AB5 |
|---|---|
| RGB | rgb(96, 74, 181) |
| HSL | hsl(252, 42%, 50%) |
| HSV | hsv(252, 59%, 71%) |
| CMYK | cmyk(47%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(39.10, 36.30, -53.92) |
| CIE-LCH | lch(39.10, 65.00, 303.95°) |
| OKLab | oklab(49.02% 0.0512 -0.154) |
| OKLCH | oklch(49.02% 0.162 288.4) |
| XYZ | xyz(15.6107, 10.7199, 44.9537) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.46
Bluey Purple
#6241C7
ΔE00 3.55
Iris
#6258C4
ΔE00 4.73
Blue With A Hint Of Purple
#533CC6
ΔE00 4.76
Blurple
#5539CC
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AB5 #9FB54A
analogous
#4A6AB5 #604AB5 #954AB5
triadic
#604AB5 #B5604A #4AB560
tetradic
#604AB5 #B54A6A #9FB54A #4AB595
square
#604AB5 #B54A6A #9FB54A #4AB595
split-complementary
#604AB5 #B5954A #6AB54A
monochromatic
#32265E #49388A #604AB5 #8675C7 #ACA1D9
Accessibility & contrast
On white
6.68
#604AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#604AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AB5
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AB5 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#456278
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #604ab5; /* rgb */ color: rgb(96, 74, 181); /* oklch */ color: oklch(49.0% 0.162 288.4);
Tailwind
colors: {
custom: {
50: '#937dcc',
500: '#604ab5',
950: '#000000',
},
}SCSS
$custom: #604ab5; $custom-light: #937dcc; $custom-dark: #000000;
JSON
{
"hex": "#604ab5",
"rgb": {
"r": 96,
"g": 74,
"b": 181
},
"hsl": {
"h": 252.336,
"s": 41.961,
"l": 50
},
"oklch": {
"l": 0.49021,
"c": 0.16227,
"h": 288.4
},
"luminance": 0.10721
}Semantic roles & 50–950 ramp
primary
#604AB5
secondary
#BCC595
accent
#D256B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82