#554178#554178
#554178 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.091 H 299.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #554178 |
|---|---|
| RGB | rgb(85, 65, 120) |
| HSL | hsl(262, 30%, 36%) |
| HSV | hsv(262, 46%, 47%) |
| CMYK | cmyk(29.2%, 45.8%, 0%, 52.9%) |
| CIE-LAB | lab(31.96, 21.39, -28.39) |
| CIE-LCH | lch(31.96, 35.54, 306.99°) |
| OKLab | oklab(42.21% 0.0445 -0.0795) |
| OKLCH | oklch(42.21% 0.091 299.2) |
| XYZ | xyz(9.0260, 7.0679, 18.6544) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.22
Twilight
#4E518B
ΔE00 7.54
Blueberry
#464196
ΔE00 8.02
Dusk
#4E5481
ΔE00 8.34
Rebeccapurple
#663399
ΔE00 8.80
Grape
#6C3461
ΔE00 10.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#554178 #647841
analogous
#414978 #554178 #714178
triadic
#554178 #785541 #417855
tetradic
#554178 #784149 #647841 #417871
square
#554178 #784149 #647841 #417871
split-complementary
#554178 #787141 #497841
monochromatic
#1D1629 #392B50 #554178 #7157A0 #917CB8
Accessibility & contrast
On white
8.70
#554178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#554178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #554178
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##554178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##554178 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#354B77
Tritanopia (blue-blind)
#4E4B56
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #554178; /* rgb */ color: rgb(85, 65, 120); /* oklch */ color: oklch(42.2% 0.091 299.2);
Tailwind
colors: {
custom: {
50: '#86769f',
500: '#554178',
950: '#000000',
},
}SCSS
$custom: #554178; $custom-light: #86769f; $custom-dark: #000000;
JSON
{
"hex": "#554178",
"rgb": {
"r": 85,
"g": 65,
"b": 120
},
"hsl": {
"h": 261.818,
"s": 29.73,
"l": 36.275
},
"oklch": {
"l": 0.42209,
"c": 0.0911,
"h": 299.2
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#554178
secondary
#91A372
accent
#C662A2
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E