#554174#554174
#554174 is a dark, moderate violet. Relative luminance 0.070; OKLCH L 42.0% C 0.085 H 300.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #554174 |
|---|---|
| RGB | rgb(85, 65, 116) |
| HSL | hsl(264, 28%, 35%) |
| HSV | hsv(264, 44%, 45%) |
| CMYK | cmyk(26.7%, 44%, 0%, 54.5%) |
| CIE-LAB | lab(31.74, 20.30, -26.22) |
| CIE-LCH | lch(31.74, 33.16, 307.75°) |
| OKLab | oklab(41.98% 0.0438 -0.0732) |
| OKLCH | oklch(41.98% 0.085 300.9) |
| XYZ | xyz(8.7883, 6.9728, 17.4025) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 7.20
Twilight
#4E518B
ΔE00 8.09
Dusk
#4E5481
ΔE00 8.59
Blueberry
#464196
ΔE00 9.01
Rebeccapurple
#663399
ΔE00 9.62
Grape
#6C3461
ΔE00 10.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#554174 #607441
analogous
#414674 #554174 #6E4174
triadic
#554174 #745541 #417455
tetradic
#554174 #744146 #607441 #41746E
square
#554174 #744146 #607441 #41746E
split-complementary
#554174 #746E41 #467441
monochromatic
#1C1526 #382B4D #554174 #72579B #917BB5
Accessibility & contrast
On white
8.77
#554174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#554174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #554174
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##554174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##554174 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#384A73
Tritanopia (blue-blind)
#4F4A55
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #554174; /* rgb */ color: rgb(85, 65, 116); /* oklch */ color: oklch(42.0% 0.085 300.9);
Tailwind
colors: {
custom: {
50: '#86769c',
500: '#554174',
950: '#000000',
},
}SCSS
$custom: #554174; $custom-light: #86769c; $custom-dark: #000000;
JSON
{
"hex": "#554174",
"rgb": {
"r": 85,
"g": 65,
"b": 116
},
"hsl": {
"h": 263.529,
"s": 28.177,
"l": 35.49
},
"oklch": {
"l": 0.41976,
"c": 0.08527,
"h": 300.9
},
"luminance": 0.06973
}Semantic roles & 50–950 ramp
primary
#554174
secondary
#8DA071
accent
#C4639E
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E