#604EAA#604EAA
#604EAA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.142 H 289.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #604EAA |
|---|---|
| RGB | rgb(96, 78, 170) |
| HSL | hsl(252, 37%, 49%) |
| HSV | hsv(252, 54%, 67%) |
| CMYK | cmyk(43.5%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(39.31, 30.62, -47.09) |
| CIE-LCH | lch(39.31, 56.17, 303.04°) |
| OKLab | oklab(48.93% 0.0463 -0.1339) |
| OKLCH | oklch(48.93% 0.142 289.1) |
| XYZ | xyz(14.8019, 10.8373, 39.3343) |
| Luminance | 0.1084 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 4.88
Iris
#6258C4
ΔE00 5.03
Royal Purple
#7851A9
ΔE00 5.36
Bluey Purple
#6241C7
ΔE00 5.79
Blueberry
#464196
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604EAA #98AA4E
analogous
#4E6AAA #604EAA #8E4EAA
triadic
#604EAA #AA604E #4EAA60
tetradic
#604EAA #AA4E6A #98AA4E #4EAA8E
square
#604EAA #AA4E6A #98AA4E #4EAA8E
split-complementary
#604EAA #AA8E4E #6AAA4E
monochromatic
#312856 #483B80 #604EAA #8475C0 #A99FD3
Accessibility & contrast
On white
6.63
#604EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#604EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604EAA
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604EAA | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225EAD
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#4A6274
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #604eaa; /* rgb */ color: rgb(96, 78, 170); /* oklch */ color: oklch(48.9% 0.142 289.1);
Tailwind
colors: {
custom: {
50: '#9280c4',
500: '#604eaa',
950: '#000000',
},
}SCSS
$custom: #604eaa; $custom-light: #9280c4; $custom-dark: #000000;
JSON
{
"hex": "#604eaa",
"rgb": {
"r": 96,
"g": 78,
"b": 170
},
"hsl": {
"h": 251.739,
"s": 37.097,
"l": 48.627
},
"oklch": {
"l": 0.48933,
"c": 0.14167,
"h": 289.1
},
"luminance": 0.10838
}Semantic roles & 50–950 ramp
primary
#604EAA
secondary
#B7C094
accent
#CD5BB7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82