#604CB2#604CB2
#604CB2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.155 H 288.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #604CB2 |
|---|---|
| RGB | rgb(96, 76, 178) |
| HSL | hsl(252, 40%, 50%) |
| HSV | hsv(252, 57%, 70%) |
| CMYK | cmyk(46.1%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(39.36, 34.21, -51.74) |
| CIE-LCH | lch(39.36, 62.02, 303.47°) |
| OKLab | oklab(49.14% 0.0489 -0.1476) |
| OKLCH | oklch(49.14% 0.155 288.3) |
| XYZ | xyz(15.4419, 10.8694, 43.3952) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.91
Bluey Purple
#6241C7
ΔE00 4.32
Iris
#6258C4
ΔE00 4.50
Blue With A Hint Of Purple
#533CC6
ΔE00 5.48
Royal Purple
#7851A9
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CB2 #9EB24C
analogous
#4C6BB2 #604CB2 #934CB2
triadic
#604CB2 #B2604C #4CB260
tetradic
#604CB2 #B24C6B #9EB24C #4CB293
square
#604CB2 #B24C6B #9EB24C #4CB293
split-complementary
#604CB2 #B2934C #6BB24C
monochromatic
#32275C #493A87 #604CB2 #8676C5 #ACA1D7
Accessibility & contrast
On white
6.62
#604CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#604CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CB2
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CB2 | 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)
#095FB5
Deuteranopia (green-blind)
#0C5AB0
Tritanopia (blue-blind)
#466377
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604cb2; /* rgb */ color: rgb(96, 76, 178); /* oklch */ color: oklch(49.1% 0.155 288.3);
Tailwind
colors: {
custom: {
50: '#937fca',
500: '#604cb2',
950: '#000000',
},
}SCSS
$custom: #604cb2; $custom-light: #937fca; $custom-dark: #000000;
JSON
{
"hex": "#604cb2",
"rgb": {
"r": 96,
"g": 76,
"b": 178
},
"hsl": {
"h": 251.765,
"s": 40.157,
"l": 49.804
},
"oklch": {
"l": 0.49143,
"c": 0.15545,
"h": 288.3
},
"luminance": 0.1087
}Semantic roles & 50–950 ramp
primary
#604CB2
secondary
#BBC496
accent
#D058B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82