#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
RGBrgb(85, 66, 113)
HSLhsl(264, 26%, 35%)
HSVhsv(264, 42%, 44%)
CMYKcmyk(24.8%, 41.6%, 0%, 55.7%)
CIE-LABlab(31.85, 18.86, -24.16)
CIE-LCHlch(31.85, 30.65, 307.97°)
OKLaboklab(42.01% 0.0416 -0.0672)
OKLCHoklch(42.01% 0.079 301.7)
XYZxyz(8.6745, 7.0200, 16.5176)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##5542711.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.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

Preview Lab

Preview with #554271

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#554271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva