#554277#554277
#554277 is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.3% C 0.088 H 299.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #554277 |
|---|---|
| RGB | rgb(85, 66, 119) |
| HSL | hsl(262, 29%, 36%) |
| HSV | hsv(262, 45%, 47%) |
| CMYK | cmyk(28.6%, 44.5%, 0%, 53.3%) |
| CIE-LAB | lab(32.17, 20.48, -27.44) |
| CIE-LCH | lch(32.17, 34.24, 306.73°) |
| OKLab | oklab(42.35% 0.0428 -0.0767) |
| OKLCH | oklch(42.35% 0.088 299.1) |
| XYZ | xyz(9.0235, 7.1596, 18.3557) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.59
Twilight
#4E518B
ΔE00 7.44
Dusk
#4E5481
ΔE00 8.09
Blueberry
#464196
ΔE00 8.33
Rebeccapurple
#663399
ΔE00 9.26
Grape
#6C3461
ΔE00 10.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#554277 #647742
analogous
#424A77 #554277 #704277
triadic
#554277 #775542 #427755
tetradic
#554277 #77424A #647742 #427770
square
#554277 #77424A #647742 #427770
split-complementary
#554277 #777042 #4A7742
monochromatic
#1D1628 #392C50 #554277 #71589E #917DB7
Accessibility & contrast
On white
8.63
#554277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#554277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #554277
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##554277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##554277 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334C79
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#4E4B56
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #554277; /* rgb */ color: rgb(85, 66, 119); /* oklch */ color: oklch(42.3% 0.088 299.1);
Tailwind
colors: {
custom: {
50: '#86769e',
500: '#554277',
950: '#000000',
},
}SCSS
$custom: #554277; $custom-light: #86769e; $custom-dark: #000000;
JSON
{
"hex": "#554277",
"rgb": {
"r": 85,
"g": 66,
"b": 119
},
"hsl": {
"h": 261.509,
"s": 28.649,
"l": 36.275
},
"oklch": {
"l": 0.42347,
"c": 0.08785,
"h": 299.1
},
"luminance": 0.0716
}Semantic roles & 50–950 ramp
primary
#554277
secondary
#91A273
accent
#C563A2
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E