#604ACC#604ACC
#604ACC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.192 H 285.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #604ACC |
|---|---|
| RGB | rgb(96, 74, 204) |
| HSL | hsl(250, 56%, 55%) |
| HSV | hsv(250, 64%, 80%) |
| CMYK | cmyk(52.9%, 63.7%, 0%, 20%) |
| CIE-LAB | lab(40.80, 43.18, -64.58) |
| CIE-LCH | lch(40.80, 77.69, 303.77°) |
| OKLab | oklab(50.8% 0.0498 -0.1853) |
| OKLCH | oklch(50.8% 0.192 285) |
| XYZ | xyz(18.1685, 11.7430, 58.4243) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.51
Blue With A Hint Of Purple
#533CC6
ΔE00 4.09
Iris
#6258C4
ΔE00 4.22
Blurple
#5539CC
ΔE00 4.41
Ocean Blue
#4F42B5
ΔE00 4.65
Purpleish Blue
#6140EF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604ACC #B6CC4A
analogous
#4A75CC #604ACC #A14ACC
triadic
#604ACC #CC604A #4ACC60
tetradic
#604ACC #CC4A75 #B6CC4A #4ACCA1
square
#604ACC #CC4A75 #B6CC4A #4ACCA1
split-complementary
#604ACC #CCA14A #75CC4A
monochromatic
#312279 #4430A9 #604ACC #8A7AD9 #B4A9E7
Accessibility & contrast
On white
6.27
#604ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#604ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604ACC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604ACC | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#336A84
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #604acc; /* rgb */ color: rgb(96, 74, 204); /* oklch */ color: oklch(50.8% 0.192 285.0);
Tailwind
colors: {
custom: {
50: '#967edc',
500: '#604acc',
950: '#000000',
},
}SCSS
$custom: #604acc; $custom-light: #967edc; $custom-dark: #000000;
JSON
{
"hex": "#604acc",
"rgb": {
"r": 96,
"g": 74,
"b": 204
},
"hsl": {
"h": 250.154,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.50799,
"c": 0.19192,
"h": 285
},
"luminance": 0.11744
}Semantic roles & 50–950 ramp
primary
#604ACC
secondary
#CBD49D
accent
#DF48C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83