#604F89#604F89
#604F89 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.1% C 0.093 H 296.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #604F89 |
|---|---|
| RGB | rgb(96, 79, 137) |
| HSL | hsl(258, 27%, 42%) |
| HSV | hsv(258, 42%, 54%) |
| CMYK | cmyk(29.9%, 42.3%, 0%, 46.3%) |
| CIE-LAB | lab(37.63, 20.58, -29.88) |
| CIE-LCH | lch(37.63, 36.28, 304.56°) |
| OKLab | oklab(47.06% 0.041 -0.0836) |
| OKLCH | oklch(47.06% 0.093 296.1) |
| XYZ | xyz(12.1341, 9.8848, 24.9307) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 5.32
Dusk
#4E5481
ΔE00 6.26
Royal Purple
#7851A9
ΔE00 7.34
Darkslateblue
#483D8B
ΔE00 7.58
Blueberry
#464196
ΔE00 8.17
Muted Purple
#805B87
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#604F89 #78894F
analogous
#4F5B89 #604F89 #7D4F89
triadic
#604F89 #89604F #4F8960
tetradic
#604F89 #894F5B #78894F #4F897D
square
#604F89 #894F5B #78894F #4F897D
split-complementary
#604F89 #897D4F #5B894F
monochromatic
#2A223B #453962 #604F89 #7E6BAA #A092C0
Accessibility & contrast
On white
7.05
#604F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#604F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #604F89
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##604F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##604F89 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E598B
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#575965
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #604f89; /* rgb */ color: rgb(96, 79, 137); /* oklch */ color: oklch(47.1% 0.093 296.1);
Tailwind
colors: {
custom: {
50: '#8f80ab',
500: '#604f89',
950: '#000000',
},
}SCSS
$custom: #604f89; $custom-light: #8f80ab; $custom-dark: #000000;
JSON
{
"hex": "#604f89",
"rgb": {
"r": 96,
"g": 79,
"b": 137
},
"hsl": {
"h": 257.586,
"s": 26.852,
"l": 42.353
},
"oklch": {
"l": 0.47057,
"c": 0.09309,
"h": 296.1
},
"luminance": 0.09885
}Semantic roles & 50–950 ramp
primary
#604F89
secondary
#A2AD87
accent
#C365A7
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F