#554271#554271
#554271 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.079 H 301.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #554271 |
|---|---|
| RGB | rgb(85, 66, 113) |
| HSL | hsl(264, 26%, 35%) |
| HSV | hsv(264, 42%, 44%) |
| CMYK | cmyk(24.8%, 41.6%, 0%, 55.7%) |
| CIE-LAB | lab(31.85, 18.86, -24.16) |
| CIE-LCH | lch(31.85, 30.65, 307.97°) |
| OKLab | oklab(42.01% 0.0416 -0.0672) |
| OKLCH | oklch(42.01% 0.079 301.7) |
| XYZ | xyz(8.6745, 7.0200, 16.5176) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 8.12
Twilight
#4E518B
ΔE00 8.39
Dusk
#4E5481
ΔE00 8.56
Grape
#6C3461
ΔE00 9.86
Blueberry
#464196
ΔE00 9.87
Rebeccapurple
#663399
ΔE00 10.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#554271 #5E7142
analogous
#424771 #554271 #6C4271
triadic
#554271 #715542 #427155
tetradic
#554271 #714247 #5E7142 #42716C
square
#554271 #714247 #5E7142 #42716C
split-complementary
#554271 #716C42 #477142
monochromatic
#1B1524 #382B4A #554271 #725998 #917BB2
Accessibility & contrast
On white
8.74
#554271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#554271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #554271
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##554271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##554271 | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#364B73
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#504A54
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #554271; /* rgb */ color: rgb(85, 66, 113); /* oklch */ color: oklch(42.0% 0.079 301.7);
Tailwind
colors: {
custom: {
50: '#86769a',
500: '#554271',
950: '#000000',
},
}SCSS
$custom: #554271; $custom-light: #86769a; $custom-dark: #000000;
JSON
{
"hex": "#554271",
"rgb": {
"r": 85,
"g": 66,
"b": 113
},
"hsl": {
"h": 264.255,
"s": 26.257,
"l": 35.098
},
"oklch": {
"l": 0.42006,
"c": 0.07905,
"h": 301.7
},
"luminance": 0.0702
}Semantic roles & 50–950 ramp
primary
#554271
secondary
#8C9D71
accent
#C3659D
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E