#604CB3#604CB3
#604CB3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.2% C 0.157 H 288.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #604CB3 |
|---|---|
| RGB | rgb(96, 76, 179) |
| HSL | hsl(252, 40%, 50%) |
| HSV | hsv(252, 58%, 70%) |
| CMYK | cmyk(46.4%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(39.43, 34.51, -52.22) |
| CIE-LCH | lch(39.43, 62.59, 303.46°) |
| OKLab | oklab(49.22% 0.0489 -0.149) |
| OKLCH | oklch(49.22% 0.157 288.2) |
| XYZ | xyz(15.5427, 10.9097, 43.9259) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.86
Bluey Purple
#6241C7
ΔE00 4.20
Iris
#6258C4
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CB3 #9FB34C
analogous
#4C6CB3 #604CB3 #934CB3
triadic
#604CB3 #B3604C #4CB360
tetradic
#604CB3 #B34C6C #9FB34C #4CB393
square
#604CB3 #B34C6C #9FB34C #4CB393
split-complementary
#604CB3 #B3934C #6CB34C
monochromatic
#32285D #493A88 #604CB3 #8677C5 #ACA2D7
Accessibility & contrast
On white
6.60
#604CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#604CB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CB3
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CB3 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055FB6
Deuteranopia (green-blind)
#085AB1
Tritanopia (blue-blind)
#466378
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604cb3; /* rgb */ color: rgb(96, 76, 179); /* oklch */ color: oklch(49.2% 0.157 288.2);
Tailwind
colors: {
custom: {
50: '#937fca',
500: '#604cb3',
950: '#000000',
},
}SCSS
$custom: #604cb3; $custom-light: #937fca; $custom-dark: #000000;
JSON
{
"hex": "#604cb3",
"rgb": {
"r": 96,
"g": 76,
"b": 179
},
"hsl": {
"h": 251.65,
"s": 40.392,
"l": 50
},
"oklch": {
"l": 0.49215,
"c": 0.15679,
"h": 288.2
},
"luminance": 0.1091
}Semantic roles & 50–950 ramp
primary
#604CB3
secondary
#BCC496
accent
#D058B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82