#554287#554287
#554287 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.3% C 0.111 H 294.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #554287 |
|---|---|
| RGB | rgb(85, 66, 135) |
| HSL | hsl(257, 34%, 39%) |
| HSV | hsv(257, 51%, 53%) |
| CMYK | cmyk(37%, 51.1%, 0%, 47.1%) |
| CIE-LAB | lab(33.09, 24.99, -35.93) |
| CIE-LCH | lch(33.09, 43.77, 304.82°) |
| OKLab | oklab(43.34% 0.0451 -0.1015) |
| OKLCH | oklch(43.34% 0.111 294) |
| XYZ | xyz(10.0666, 7.5768, 23.8491) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.44
Blueberry
#464196
ΔE00 4.91
Twilight
#4E518B
ΔE00 6.21
Rebeccapurple
#663399
ΔE00 6.74
Dusk
#4E5481
ΔE00 8.00
Ocean Blue
#4F42B5
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#554287 #748742
analogous
#425287 #554287 #784287
triadic
#554287 #875542 #428755
tetradic
#554287 #874252 #748742 #428778
square
#554287 #874252 #748742 #428778
split-complementary
#554287 #877842 #528742
monochromatic
#211A35 #3B2E5E #554287 #7059AE #9382C2
Accessibility & contrast
On white
8.35
#554287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#554287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #554287
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##554287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##554287 | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284F89
Deuteranopia (green-blind)
#2C4D85
Tritanopia (blue-blind)
#49505E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #554287; /* rgb */ color: rgb(85, 66, 135); /* oklch */ color: oklch(43.3% 0.111 294.0);
Tailwind
colors: {
custom: {
50: '#8877aa',
500: '#554287',
950: '#000000',
},
}SCSS
$custom: #554287; $custom-light: #8877aa; $custom-dark: #000000;
JSON
{
"hex": "#554287",
"rgb": {
"r": 85,
"g": 66,
"b": 135
},
"hsl": {
"h": 256.522,
"s": 34.328,
"l": 39.412
},
"oklch": {
"l": 0.43335,
"c": 0.11108,
"h": 294
},
"luminance": 0.07577
}Semantic roles & 50–950 ramp
primary
#554287
secondary
#9EAC78
accent
#CA5DAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F