#604592#604592
#604592 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 45.7% C 0.123 H 297.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #604592 |
|---|---|
| RGB | rgb(96, 69, 146) |
| HSL | hsl(261, 36%, 42%) |
| HSV | hsv(261, 53%, 57%) |
| CMYK | cmyk(34.2%, 52.7%, 0%, 42.7%) |
| CIE-LAB | lab(35.63, 29.25, -38.54) |
| CIE-LCH | lch(35.63, 48.38, 307.19°) |
| OKLab | oklab(45.72% 0.0567 -0.1088) |
| OKLCH | oklch(45.72% 0.123 297.5) |
| XYZ | xyz(12.1390, 8.8182, 28.2511) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.16
Rebeccapurple
#663399
ΔE00 5.44
Blueberry
#464196
ΔE00 5.84
Royal Purple
#7851A9
ΔE00 6.23
Twilight
#4E518B
ΔE00 7.16
Ocean Blue
#4F42B5
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604592 #779245
analogous
#455192 #604592 #874592
triadic
#604592 #926045 #459260
tetradic
#604592 #924551 #779245 #459287
square
#604592 #924551 #779245 #459287
split-complementary
#604592 #928745 #519245
monochromatic
#291E3F #453168 #604592 #7E60B4 #9F8AC8
Accessibility & contrast
On white
7.60
#604592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#604592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #604592
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604592 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285495
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#555465
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #604592; /* rgb */ color: rgb(96, 69, 146); /* oklch */ color: oklch(45.7% 0.123 297.5);
Tailwind
colors: {
custom: {
50: '#9079b2',
500: '#604592',
950: '#000000',
},
}SCSS
$custom: #604592; $custom-light: #9079b2; $custom-dark: #000000;
JSON
{
"hex": "#604592",
"rgb": {
"r": 96,
"g": 69,
"b": 146
},
"hsl": {
"h": 261.039,
"s": 35.814,
"l": 42.157
},
"oklch": {
"l": 0.45718,
"c": 0.12271,
"h": 297.5
},
"luminance": 0.08818
}Semantic roles & 50–950 ramp
primary
#604592
secondary
#A1B380
accent
#CC5CA5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80