#604CBD#604CBD
#604CBD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.170 H 286.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #604CBD |
|---|---|
| RGB | rgb(96, 76, 189) |
| HSL | hsl(251, 46%, 52%) |
| HSV | hsv(251, 60%, 74%) |
| CMYK | cmyk(49.2%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(40.13, 37.50, -56.95) |
| CIE-LCH | lch(40.13, 68.19, 303.36°) |
| OKLab | oklab(49.95% 0.0487 -0.1629) |
| OKLCH | oklch(49.95% 0.17 286.6) |
| XYZ | xyz(16.5909, 11.3290, 49.4468) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.25
Iris
#6258C4
ΔE00 3.73
Ocean Blue
#4F42B5
ΔE00 3.85
Blue With A Hint Of Purple
#533CC6
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CBD #A9BD4C
analogous
#4C71BD #604CBD #984CBD
triadic
#604CBD #BD604C #4CBD60
tetradic
#604CBD #BD4C71 #A9BD4C #4CBD98
square
#604CBD #BD4C71 #A9BD4C #4CBD98
split-complementary
#604CBD #BD984C #71BD4C
monochromatic
#322668 #483795 #604CBD #8879CD #AFA5DE
Accessibility & contrast
On white
6.43
#604CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#604CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CBD
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CBD | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#3F667D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604cbd; /* rgb */ color: rgb(96, 76, 189); /* oklch */ color: oklch(50.0% 0.170 286.6);
Tailwind
colors: {
custom: {
50: '#947fd2',
500: '#604cbd',
950: '#000000',
},
}SCSS
$custom: #604cbd; $custom-light: #947fd2; $custom-dark: #000000;
JSON
{
"hex": "#604cbd",
"rgb": {
"r": 96,
"g": 76,
"b": 189
},
"hsl": {
"h": 250.619,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.49954,
"c": 0.17005,
"h": 286.6
},
"luminance": 0.1133
}Semantic roles & 50–950 ramp
primary
#604CBD
secondary
#C2CB9A
accent
#D652BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83