#604CC2#604CC2
#604CC2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.177 H 285.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #604CC2 |
|---|---|
| RGB | rgb(96, 76, 194) |
| HSL | hsl(250, 49%, 53%) |
| HSV | hsv(250, 61%, 76%) |
| CMYK | cmyk(50.5%, 60.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.49, 39.00, -59.29) |
| CIE-LCH | lch(40.49, 70.96, 303.34°) |
| OKLab | oklab(50.33% 0.0485 -0.1698) |
| OKLCH | oklch(50.33% 0.177 285.9) |
| XYZ | xyz(17.1430, 11.5499, 52.3545) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.00
Iris
#6258C4
ΔE00 3.59
Ocean Blue
#4F42B5
ΔE00 4.10
Blue With A Hint Of Purple
#533CC6
ΔE00 4.50
Slate Blue
#6A5ACD
ΔE00 4.58
Light Indigo
#6D5ACF
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604CC2 #AEC24C
analogous
#4C73C2 #604CC2 #9B4CC2
triadic
#604CC2 #C2604C #4CC260
tetradic
#604CC2 #C24C73 #AEC24C #4CC29B
square
#604CC2 #C24C73 #AEC24C #4CC29B
split-complementary
#604CC2 #C29B4C #73C24C
monochromatic
#32266E #46359C #604CC2 #897AD2 #B1A7E1
Accessibility & contrast
On white
6.34
#604CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#604CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #604CC2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604CC2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#3C6880
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #604cc2; /* rgb */ color: rgb(96, 76, 194); /* oklch */ color: oklch(50.3% 0.177 285.9);
Tailwind
colors: {
custom: {
50: '#957fd5',
500: '#604cc2',
950: '#000000',
},
}SCSS
$custom: #604cc2; $custom-light: #957fd5; $custom-dark: #000000;
JSON
{
"hex": "#604cc2",
"rgb": {
"r": 96,
"g": 76,
"b": 194
},
"hsl": {
"h": 250.169,
"s": 49.167,
"l": 52.941
},
"oklch": {
"l": 0.50334,
"c": 0.17656,
"h": 285.9
},
"luminance": 0.11551
}Semantic roles & 50–950 ramp
primary
#604CC2
secondary
#C6CE9B
accent
#D94FC1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83