#554171#554171

#554171 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 41.8% C 0.081 H 302.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#554171
RGBrgb(85, 65, 113)
HSLhsl(265, 27%, 35%)
HSVhsv(265, 42%, 44%)
CMYKcmyk(24.8%, 42.5%, 0%, 55.7%)
CIE-LABlab(31.59, 19.49, -24.58)
CIE-LCHlch(31.59, 31.37, 308.42°)
OKLaboklab(41.81% 0.0432 -0.0684)
OKLCHoklch(41.81% 0.081 302.2)
XYZxyz(8.6166, 6.9041, 16.4983)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554171 #5D7141
analogous
#414571 #554171 #6D4171
triadic
#554171 #715541 #417155
tetradic
#554171 #714145 #5D7141 #41716D
square
#554171 #714145 #5D7141 #41716D
split-complementary
#554171 #716D41 #457141
monochromatic
#1B1423 #382B4A #554171 #725798 #917AB2

Accessibility & contrast

On white

8.82
#554171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#554171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554171
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554171#FFFFFF#000000##FFFFFF
##5541711.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A73
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#504953
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #554171;
/* rgb */ color: rgb(85, 65, 113);
/* oklch */ color: oklch(41.8% 0.081 302.2);
Tailwind
colors: {
  custom: {
    50: '#86769a',
    500: '#554171',
    950: '#000000',
  },
}
SCSS
$custom: #554171;
$custom-light: #86769a;
$custom-dark: #000000;
JSON
{
  "hex": "#554171",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 265,
    "s": 26.966,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.08091,
    "h": 302.2
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#554171
secondary
#8B9E70
accent
#C3649C
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #554171

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

Preview Lab → · Contrast checker → · Palette generator →

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