#604EBA#604EBA
#604EBA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.163 H 286.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #604EBA |
|---|---|
| RGB | rgb(96, 78, 186) |
| HSL | hsl(250, 44%, 52%) |
| HSV | hsv(250, 58%, 73%) |
| CMYK | cmyk(48.4%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.38, 35.40, -54.80) |
| CIE-LCH | lch(40.38, 65.24, 302.86°) |
| OKLab | oklab(50.07% 0.0466 -0.1566) |
| OKLCH | oklch(50.07% 0.163 286.6) |
| XYZ | xyz(16.4086, 11.4800, 47.7961) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.35
Bluey Purple
#6241C7
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.03
Blue With A Hint Of Purple
#533CC6
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604EBA #A8BA4E
analogous
#4E72BA #604EBA #964EBA
triadic
#604EBA #BA604E #4EBA60
tetradic
#604EBA #BA4E72 #A8BA4E #4EBA96
square
#604EBA #BA4E72 #A8BA4E #4EBA96
split-complementary
#604EBA #BA964E #72BA4E
monochromatic
#322866 #483992 #604EBA #887ACB #AFA6DC
Accessibility & contrast
On white
6.37
#604EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#604EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604EBA
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604EBA | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#41667C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604eba; /* rgb */ color: rgb(96, 78, 186); /* oklch */ color: oklch(50.1% 0.163 286.6);
Tailwind
colors: {
custom: {
50: '#9480cf',
500: '#604eba',
950: '#000000',
},
}SCSS
$custom: #604eba; $custom-light: #9480cf; $custom-dark: #000000;
JSON
{
"hex": "#604eba",
"rgb": {
"r": 96,
"g": 78,
"b": 186
},
"hsl": {
"h": 250,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.50069,
"c": 0.16334,
"h": 286.6
},
"luminance": 0.11481
}Semantic roles & 50–950 ramp
primary
#604EBA
secondary
#C2CA9A
accent
#D454BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82