#604BB7#604BB7
#604BB7 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.164 H 287.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #604BB7 |
|---|---|
| RGB | rgb(96, 75, 183) |
| HSL | hsl(252, 43%, 51%) |
| HSV | hsv(252, 59%, 72%) |
| CMYK | cmyk(47.5%, 59%, 0%, 28.2%) |
| CIE-LAB | lab(39.47, 36.30, -54.50) |
| CIE-LCH | lch(39.47, 65.48, 303.67°) |
| OKLab | oklab(49.34% 0.05 -0.1557) |
| OKLCH | oklch(49.34% 0.164 287.8) |
| XYZ | xyz(15.8847, 10.9372, 46.0647) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.54
Ocean Blue
#4F42B5
ΔE00 3.59
Iris
#6258C4
ΔE00 4.33
Blue With A Hint Of Purple
#533CC6
ΔE00 4.81
Blurple
#5539CC
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604BB7 #A2B74B
analogous
#4B6CB7 #604BB7 #964BB7
triadic
#604BB7 #B7604B #4BB760
tetradic
#604BB7 #B74B6C #A2B74B #4BB796
square
#604BB7 #B74B6C #A2B74B #4BB796
split-complementary
#604BB7 #B7964B #6CB74B
monochromatic
#322761 #49388D #604BB7 #8777C8 #ADA2DA
Accessibility & contrast
On white
6.59
#604BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#604BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604BB7
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604BB7 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#43647A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604bb7; /* rgb */ color: rgb(96, 75, 183); /* oklch */ color: oklch(49.3% 0.164 287.8);
Tailwind
colors: {
custom: {
50: '#947ecd',
500: '#604bb7',
950: '#000000',
},
}SCSS
$custom: #604bb7; $custom-light: #947ecd; $custom-dark: #000000;
JSON
{
"hex": "#604bb7",
"rgb": {
"r": 96,
"g": 75,
"b": 183
},
"hsl": {
"h": 251.667,
"s": 42.857,
"l": 50.588
},
"oklch": {
"l": 0.49338,
"c": 0.16352,
"h": 287.8
},
"luminance": 0.10938
}Semantic roles & 50–950 ramp
primary
#604BB7
secondary
#BEC797
accent
#D355BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82