#604BB5#604BB5
#604BB5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.161 H 288.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #604BB5 |
|---|---|
| RGB | rgb(96, 75, 181) |
| HSL | hsl(252, 42%, 50%) |
| HSV | hsv(252, 59%, 71%) |
| CMYK | cmyk(47%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(39.33, 35.70, -53.55) |
| CIE-LCH | lch(39.33, 64.36, 303.69°) |
| OKLab | oklab(49.19% 0.0501 -0.1529) |
| OKLCH | oklch(49.19% 0.161 288.1) |
| XYZ | xyz(15.6780, 10.8545, 44.9762) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.62
Bluey Purple
#6241C7
ΔE00 3.76
Iris
#6258C4
ΔE00 4.48
Blue With A Hint Of Purple
#533CC6
ΔE00 4.98
Blurple
#5539CC
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604BB5 #A0B54B
analogous
#4B6BB5 #604BB5 #954BB5
triadic
#604BB5 #B5604B #4BB560
tetradic
#604BB5 #B54B6B #A0B54B #4BB595
square
#604BB5 #B54B6B #A0B54B #4BB595
split-complementary
#604BB5 #B5954B #6BB54B
monochromatic
#32275F #49398A #604BB5 #8676C7 #ADA2D9
Accessibility & contrast
On white
6.62
#604BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#604BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604BB5
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604BB5 | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB9
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#456379
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604bb5; /* rgb */ color: rgb(96, 75, 181); /* oklch */ color: oklch(49.2% 0.161 288.1);
Tailwind
colors: {
custom: {
50: '#937ecc',
500: '#604bb5',
950: '#000000',
},
}SCSS
$custom: #604bb5; $custom-light: #937ecc; $custom-dark: #000000;
JSON
{
"hex": "#604bb5",
"rgb": {
"r": 96,
"g": 75,
"b": 181
},
"hsl": {
"h": 251.887,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.4919,
"c": 0.16087,
"h": 288.1
},
"luminance": 0.10855
}Semantic roles & 50–950 ramp
primary
#604BB5
secondary
#BCC696
accent
#D256B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82