#604AB6#604AB6
#604AB6 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.1% C 0.164 H 288.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #604AB6 |
|---|---|
| RGB | rgb(96, 74, 182) |
| HSL | hsl(252, 43%, 50%) |
| HSV | hsv(252, 59%, 71%) |
| CMYK | cmyk(47.3%, 59.3%, 0%, 28.6%) |
| CIE-LAB | lab(39.18, 36.60, -54.39) |
| CIE-LCH | lch(39.18, 65.56, 303.93°) |
| OKLab | oklab(49.1% 0.0512 -0.1554) |
| OKLCH | oklch(49.1% 0.164 288.2) |
| XYZ | xyz(15.7137, 10.7611, 45.4960) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 3.44
Iris
#6258C4
ΔE00 4.66
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Blurple
#5539CC
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AB6 #A0B64A
analogous
#4A6AB6 #604AB6 #964AB6
triadic
#604AB6 #B6604A #4AB660
tetradic
#604AB6 #B64A6A #A0B64A #4AB696
square
#604AB6 #B64A6A #A0B64A #4AB696
split-complementary
#604AB6 #B6964A #6AB64A
monochromatic
#32265F #49388B #604AB6 #8676C8 #ADA1D9
Accessibility & contrast
On white
6.66
#604AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#604AB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AB6
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AB6 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#446379
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #604ab6; /* rgb */ color: rgb(96, 74, 182); /* oklch */ color: oklch(49.1% 0.164 288.2);
Tailwind
colors: {
custom: {
50: '#937dcd',
500: '#604ab6',
950: '#000000',
},
}SCSS
$custom: #604ab6; $custom-light: #937dcd; $custom-dark: #000000;
JSON
{
"hex": "#604ab6",
"rgb": {
"r": 96,
"g": 74,
"b": 182
},
"hsl": {
"h": 252.222,
"s": 42.52,
"l": 50.196
},
"oklch": {
"l": 0.49096,
"c": 0.16359,
"h": 288.2
},
"luminance": 0.10762
}Semantic roles & 50–950 ramp
primary
#604AB6
secondary
#BCC696
accent
#D255B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82