#604AC2#604AC2
#604AC2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.179 H 286.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #604AC2 |
|---|---|
| RGB | rgb(96, 74, 194) |
| HSL | hsl(251, 50%, 53%) |
| HSV | hsv(251, 62%, 76%) |
| CMYK | cmyk(50.5%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(40.05, 40.18, -60.01) |
| CIE-LCH | lch(40.05, 72.22, 303.80°) |
| OKLab | oklab(50.01% 0.0506 -0.1719) |
| OKLCH | oklch(50.01% 0.179 286.4) |
| XYZ | xyz(17.0074, 11.2786, 52.3093) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.46
Ocean Blue
#4F42B5
ΔE00 3.79
Blue With A Hint Of Purple
#533CC6
ΔE00 4.01
Iris
#6258C4
ΔE00 4.15
Blurple
#5539CC
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604AC2 #ACC24A
analogous
#4A70C2 #604AC2 #9C4AC2
triadic
#604AC2 #C2604A #4AC260
tetradic
#604AC2 #C24A70 #ACC24A #4AC29C
square
#604AC2 #C24A70 #ACC24A #4AC29C
split-complementary
#604AC2 #C29C4A #70C24A
monochromatic
#32256D #47349B #604AC2 #8878D1 #B0A6E1
Accessibility & contrast
On white
6.45
#604AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#604AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604AC2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604AC2 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#3C667F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #604ac2; /* rgb */ color: rgb(96, 74, 194); /* oklch */ color: oklch(50.0% 0.179 286.4);
Tailwind
colors: {
custom: {
50: '#957dd5',
500: '#604ac2',
950: '#000000',
},
}SCSS
$custom: #604ac2; $custom-light: #957dd5; $custom-dark: #000000;
JSON
{
"hex": "#604ac2",
"rgb": {
"r": 96,
"g": 74,
"b": 194
},
"hsl": {
"h": 251,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.50008,
"c": 0.1792,
"h": 286.4
},
"luminance": 0.11279
}Semantic roles & 50–950 ramp
primary
#604AC2
secondary
#C4CE9A
accent
#D94FC0
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83