#574279#574279
#574279 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.091 H 300.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #574279 |
|---|---|
| RGB | rgb(87, 66, 121) |
| HSL | hsl(263, 29%, 37%) |
| HSV | hsv(263, 45%, 47%) |
| CMYK | cmyk(28.1%, 45.5%, 0%, 52.5%) |
| CIE-LAB | lab(32.49, 21.64, -28.17) |
| CIE-LCH | lch(32.49, 35.53, 307.54°) |
| OKLab | oklab(42.67% 0.0458 -0.0788) |
| OKLCH | oklch(42.67% 0.091 300.2) |
| XYZ | xyz(9.3291, 7.3031, 19.0036) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.47
Twilight
#4E518B
ΔE00 7.56
Blueberry
#464196
ΔE00 8.21
Dusk
#4E5481
ΔE00 8.35
Rebeccapurple
#663399
ΔE00 8.74
Royal Purple
#7851A9
ΔE00 10.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#574279 #647942
analogous
#424979 #574279 #734279
triadic
#574279 #795742 #427957
tetradic
#574279 #794249 #647942 #427973
square
#574279 #794249 #647942 #427973
split-complementary
#574279 #797342 #497942
monochromatic
#1E172A #3B2C51 #574279 #7358A1 #947DB8
Accessibility & contrast
On white
8.53
#574279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#574279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #574279
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##574279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##574279 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#514C57
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #574279; /* rgb */ color: rgb(87, 66, 121); /* oklch */ color: oklch(42.7% 0.091 300.2);
Tailwind
colors: {
custom: {
50: '#8876a0',
500: '#574279',
950: '#000000',
},
}SCSS
$custom: #574279; $custom-light: #8876a0; $custom-dark: #000000;
JSON
{
"hex": "#574279",
"rgb": {
"r": 87,
"g": 66,
"b": 121
},
"hsl": {
"h": 262.909,
"s": 29.412,
"l": 36.667
},
"oklch": {
"l": 0.42673,
"c": 0.09117,
"h": 300.2
},
"luminance": 0.07303
}Semantic roles & 50–950 ramp
primary
#574279
secondary
#91A374
accent
#C662A0
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0B080E
muted
#7C7B7E