#604BB6#604BB6
#604BB6 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.162 H 288.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #604BB6 |
|---|---|
| RGB | rgb(96, 75, 182) |
| HSL | hsl(252, 42%, 50%) |
| HSV | hsv(252, 59%, 71%) |
| CMYK | cmyk(47.3%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(39.40, 36.00, -54.02) |
| CIE-LCH | lch(39.40, 64.92, 303.68°) |
| OKLab | oklab(49.26% 0.05 -0.1543) |
| OKLCH | oklch(49.26% 0.162 288) |
| XYZ | xyz(15.7810, 10.8957, 45.5185) |
| Luminance | 0.1090 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.60
Bluey Purple
#6241C7
ΔE00 3.64
Iris
#6258C4
ΔE00 4.41
Blue With A Hint Of Purple
#533CC6
ΔE00 4.89
Blurple
#5539CC
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604BB6 #A1B64B
analogous
#4B6BB6 #604BB6 #954BB6
triadic
#604BB6 #B6604B #4BB660
tetradic
#604BB6 #B64B6B #A1B64B #4BB695
square
#604BB6 #B64B6B #A1B64B #4BB695
split-complementary
#604BB6 #B6954B #6BB64B
monochromatic
#322760 #49388B #604BB6 #8677C8 #ADA2D9
Accessibility & contrast
On white
6.61
#604BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#604BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604BB6
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604BB6 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBA
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#446379
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604bb6; /* rgb */ color: rgb(96, 75, 182); /* oklch */ color: oklch(49.3% 0.162 288.0);
Tailwind
colors: {
custom: {
50: '#937ecd',
500: '#604bb6',
950: '#000000',
},
}SCSS
$custom: #604bb6; $custom-light: #937ecd; $custom-dark: #000000;
JSON
{
"hex": "#604bb6",
"rgb": {
"r": 96,
"g": 75,
"b": 182
},
"hsl": {
"h": 251.776,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.49264,
"c": 0.1622,
"h": 288
},
"luminance": 0.10896
}Semantic roles & 50–950 ramp
primary
#604BB6
secondary
#BDC697
accent
#D256BA
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82