#604AC6#604AC6
#604AC6 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.184 H 285.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #604AC6 |
|---|---|
| RGB | rgb(96, 74, 198) |
| HSL | hsl(251, 52%, 53%) |
| HSV | hsv(251, 63%, 78%) |
| CMYK | cmyk(51.5%, 62.6%, 0%, 22.4%) |
| CIE-LAB | lab(40.35, 41.38, -61.85) |
| CIE-LCH | lch(40.35, 74.41, 303.78°) |
| OKLab | oklab(50.32% 0.0503 -0.1773) |
| OKLCH | oklch(50.32% 0.184 285.8) |
| XYZ | xyz(17.4627, 11.4607, 54.7071) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.38
Blue With A Hint Of Purple
#533CC6
ΔE00 3.97
Ocean Blue
#4F42B5
ΔE00 4.09
Iris
#6258C4
ΔE00 4.12
Blurple
#5539CC
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AC6 #B0C64A
analogous
#4A72C6 #604AC6 #9E4AC6
triadic
#604AC6 #C6604A #4AC660
tetradic
#604AC6 #C64A72 #B0C64A #4AC69E
square
#604AC6 #C64A72 #B0C64A #4AC69E
split-complementary
#604AC6 #C69E4A #72C64A
monochromatic
#322472 #4632A0 #604AC6 #8979D5 #B2A7E3
Accessibility & contrast
On white
6.38
#604AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#604AC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AC6
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AC6 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#396881
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604ac6; /* rgb */ color: rgb(96, 74, 198); /* oklch */ color: oklch(50.3% 0.184 285.8);
Tailwind
colors: {
custom: {
50: '#967ed8',
500: '#604ac6',
950: '#000000',
},
}SCSS
$custom: #604ac6; $custom-light: #967ed8; $custom-dark: #000000;
JSON
{
"hex": "#604ac6",
"rgb": {
"r": 96,
"g": 74,
"b": 198
},
"hsl": {
"h": 250.645,
"s": 52.101,
"l": 53.333
},
"oklch": {
"l": 0.50321,
"c": 0.18431,
"h": 285.8
},
"luminance": 0.11462
}Semantic roles & 50–950 ramp
primary
#604AC6
secondary
#C7D19B
accent
#DC4CC2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83