#554181#554181

#554181 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.8% C 0.104 H 296.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#554181
RGBrgb(85, 65, 129)
HSLhsl(259, 33%, 38%)
HSVhsv(259, 50%, 51%)
CMYKcmyk(34.1%, 49.6%, 0%, 49.4%)
CIE-LABlab(32.47, 23.90, -33.19)
CIE-LCHlch(32.47, 40.90, 305.76°)
OKLaboklab(42.76% 0.0459 -0.0935)
OKLCHoklch(42.76% 0.104 296.1)
XYZxyz(9.5981, 7.2967, 21.6674)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#554181 #6D8141
analogous
#414D81 #554181 #754181
triadic
#554181 #815541 #418155
tetradic
#554181 #81414D #6D8141 #418175
square
#554181 #81414D #6D8141 #418175
split-complementary
#554181 #817541 #4D8141
monochromatic
#1F1830 #3A2C58 #554181 #7056AA #927EBE

Accessibility & contrast

On white

8.54
#554181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#554181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #554181
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##554181#FFFFFF#000000##FFFFFF
##5541811.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D83
Deuteranopia (green-blind)
#2F4C7F
Tritanopia (blue-blind)
#4B4D5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #554181;
/* rgb */ color: rgb(85, 65, 129);
/* oklch */ color: oklch(42.8% 0.104 296.1);
Tailwind
colors: {
  custom: {
    50: '#8776a6',
    500: '#554181',
    950: '#000000',
  },
}
SCSS
$custom: #554181;
$custom-light: #8776a6;
$custom-dark: #000000;
JSON
{
  "hex": "#554181",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 258.75,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.10413,
    "h": 296.1
  },
  "luminance": 0.07297
}

Semantic roles & 50–950 ramp

primary
#554181
secondary
#99A975
accent
#C95FA8
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0B080F
muted
#7C7B7F

Preview Lab

Preview with #554181

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

Preview Lab → · Contrast checker → · Palette generator →

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