#604CB0#604CB0
#604CB0 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.0% C 0.153 H 288.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #604CB0 |
|---|---|
| RGB | rgb(96, 76, 176) |
| HSL | hsl(252, 40%, 49%) |
| HSV | hsv(252, 57%, 69%) |
| CMYK | cmyk(45.5%, 56.8%, 0%, 31%) |
| CIE-LAB | lab(39.22, 33.62, -50.77) |
| CIE-LCH | lch(39.22, 60.89, 303.51°) |
| OKLab | oklab(49% 0.0489 -0.1447) |
| OKLCH | oklch(49% 0.153 288.7) |
| XYZ | xyz(15.2426, 10.7897, 42.3454) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.01
Bluey Purple
#6241C7
ΔE00 4.57
Iris
#6258C4
ΔE00 4.70
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Royal Purple
#7851A9
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CB0 #9CB04C
analogous
#4C6AB0 #604CB0 #924CB0
triadic
#604CB0 #B0604C #4CB060
tetradic
#604CB0 #B04C6A #9CB04C #4CB092
square
#604CB0 #B04C6A #9CB04C #4CB092
split-complementary
#604CB0 #B0924C #6AB04C
monochromatic
#31275B #493A85 #604CB0 #8576C4 #ABA0D6
Accessibility & contrast
On white
6.65
#604CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#604CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CB0
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CB0 | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5FB3
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#476276
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #604cb0; /* rgb */ color: rgb(96, 76, 176); /* oklch */ color: oklch(49.0% 0.153 288.7);
Tailwind
colors: {
custom: {
50: '#937fc8',
500: '#604cb0',
950: '#000000',
},
}SCSS
$custom: #604cb0; $custom-light: #937fc8; $custom-dark: #000000;
JSON
{
"hex": "#604cb0",
"rgb": {
"r": 96,
"g": 76,
"b": 176
},
"hsl": {
"h": 252,
"s": 39.683,
"l": 49.412
},
"oklch": {
"l": 0.49,
"c": 0.15277,
"h": 288.7
},
"luminance": 0.1079
}Semantic roles & 50–950 ramp
primary
#604CB0
secondary
#BAC395
accent
#D058B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82