#604AA2#604AA2
#604AA2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.7% C 0.137 H 291.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #604AA2 |
|---|---|
| RGB | rgb(96, 74, 162) |
| HSL | hsl(255, 37%, 46%) |
| HSV | hsv(255, 54%, 64%) |
| CMYK | cmyk(40.7%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(37.83, 30.73, -44.69) |
| CIE-LCH | lch(37.83, 54.23, 304.51°) |
| OKLab | oklab(47.67% 0.051 -0.1268) |
| OKLCH | oklch(47.67% 0.137 291.9) |
| XYZ | xyz(13.7925, 9.9926, 35.3775) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 5.27
Blueberry
#464196
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 6.36
Rebeccapurple
#663399
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AA2 #8CA24A
analogous
#4A60A2 #604AA2 #8C4AA2
triadic
#604AA2 #A2604A #4AA260
tetradic
#604AA2 #A24A60 #8CA24A #4AA28C
square
#604AA2 #A24A60 #8CA24A #4AA28C
split-complementary
#604AA2 #A28C4A #60A24A
monochromatic
#2E244E #473778 #604AA2 #816DBC #A597CF
Accessibility & contrast
On white
7.00
#604AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#604AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AA2
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AA2 | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#2657A0
Tritanopia (blue-blind)
#4E5C6F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #604aa2; /* rgb */ color: rgb(96, 74, 162); /* oklch */ color: oklch(47.7% 0.137 291.9);
Tailwind
colors: {
custom: {
50: '#917dbe',
500: '#604aa2',
950: '#000000',
},
}SCSS
$custom: #604aa2; $custom-light: #917dbe; $custom-dark: #000000;
JSON
{
"hex": "#604aa2",
"rgb": {
"r": 96,
"g": 74,
"b": 162
},
"hsl": {
"h": 255,
"s": 37.288,
"l": 46.275
},
"oklch": {
"l": 0.47672,
"c": 0.13672,
"h": 291.9
},
"luminance": 0.09993
}Semantic roles & 50–950 ramp
primary
#604AA2
secondary
#B0BC8C
accent
#CD5BB1
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0912
muted
#7E7B81