#604692#604692
#604692 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 45.9% C 0.121 H 297.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #604692 |
|---|---|
| RGB | rgb(96, 70, 146) |
| HSL | hsl(261, 35%, 42%) |
| HSV | hsv(261, 52%, 57%) |
| CMYK | cmyk(34.2%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(35.87, 28.64, -38.16) |
| CIE-LCH | lch(35.87, 47.71, 306.89°) |
| OKLab | oklab(45.9% 0.0553 -0.1077) |
| OKLCH | oklch(45.9% 0.121 297.2) |
| XYZ | xyz(12.2011, 8.9423, 28.2718) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.24
Rebeccapurple
#663399
ΔE00 5.75
Blueberry
#464196
ΔE00 5.86
Royal Purple
#7851A9
ΔE00 6.14
Twilight
#4E518B
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604692 #789246
analogous
#465292 #604692 #864692
triadic
#604692 #926046 #469260
tetradic
#604692 #924652 #789246 #469286
square
#604692 #924652 #789246 #469286
split-complementary
#604692 #928646 #529246
monochromatic
#2A1E3F #453269 #604692 #7E62B4 #A08BC7
Accessibility & contrast
On white
7.53
#604692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#604692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #604692
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604692 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#315490
Tritanopia (blue-blind)
#555565
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #604692; /* rgb */ color: rgb(96, 70, 146); /* oklch */ color: oklch(45.9% 0.121 297.2);
Tailwind
colors: {
custom: {
50: '#907ab2',
500: '#604692',
950: '#000000',
},
}SCSS
$custom: #604692; $custom-light: #907ab2; $custom-dark: #000000;
JSON
{
"hex": "#604692",
"rgb": {
"r": 96,
"g": 70,
"b": 146
},
"hsl": {
"h": 260.526,
"s": 35.185,
"l": 42.353
},
"oklch": {
"l": 0.45898,
"c": 0.12108,
"h": 297.2
},
"luminance": 0.08942
}Semantic roles & 50–950 ramp
primary
#604692
secondary
#A2B381
accent
#CB5DA5
background
#F9F7FB
surface
#F1EDF6
border
#CBC8D0
text
#0D0911
muted
#7E7B80