#604CB4#604CB4
#604CB4 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.158 H 288.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #604CB4 |
|---|---|
| RGB | rgb(96, 76, 180) |
| HSL | hsl(252, 41%, 50%) |
| HSV | hsv(252, 58%, 71%) |
| CMYK | cmyk(46.7%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(39.50, 34.81, -52.69) |
| CIE-LCH | lch(39.50, 63.15, 303.45°) |
| OKLab | oklab(49.29% 0.0489 -0.1504) |
| OKLCH | oklch(49.29% 0.158 288) |
| XYZ | xyz(15.6442, 10.9503, 44.4605) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.83
Bluey Purple
#6241C7
ΔE00 4.09
Iris
#6258C4
ΔE00 4.32
Blue With A Hint Of Purple
#533CC6
ΔE00 5.29
Slate Blue
#6A5ACD
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CB4 #A0B44C
analogous
#4C6CB4 #604CB4 #944CB4
triadic
#604CB4 #B4604C #4CB460
tetradic
#604CB4 #B44C6C #A0B44C #4CB494
square
#604CB4 #B44C6C #A0B44C #4CB494
split-complementary
#604CB4 #B4944C #6CB44C
monochromatic
#32275E #493A89 #604CB4 #8677C6 #ADA2D8
Accessibility & contrast
On white
6.58
#604CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#604CB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CB4
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CB4 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015FB7
Deuteranopia (green-blind)
#045AB2
Tritanopia (blue-blind)
#456378
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604cb4; /* rgb */ color: rgb(96, 76, 180); /* oklch */ color: oklch(49.3% 0.158 288.0);
Tailwind
colors: {
custom: {
50: '#937fcb',
500: '#604cb4',
950: '#000000',
},
}SCSS
$custom: #604cb4; $custom-light: #937fcb; $custom-dark: #000000;
JSON
{
"hex": "#604cb4",
"rgb": {
"r": 96,
"g": 76,
"b": 180
},
"hsl": {
"h": 251.538,
"s": 40.945,
"l": 50.196
},
"oklch": {
"l": 0.49288,
"c": 0.15813,
"h": 288
},
"luminance": 0.10951
}Semantic roles & 50–950 ramp
primary
#604CB4
secondary
#BCC597
accent
#D157B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82