#551B81#551B81

#551B81 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.160 H 305.6°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#551B81
RGBrgb(85, 27, 129)
HSLhsl(274, 65%, 31%)
HSVhsv(274, 79%, 51%)
CMYKcmyk(34.1%, 79.1%, 0%, 49.4%)
CIE-LABlab(24.64, 44.86, -45.79)
CIE-LCHlch(24.64, 64.10, 314.41°)
OKLaboklab(37.06% 0.0932 -0.1303)
OKLCHoklch(37.06% 0.16 305.6)
XYZxyz(8.0998, 4.3002, 21.1679)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B81 #47811B
analogous
#221B81 #551B81 #811B7A
triadic
#551B81 #81551B #1B8155
tetradic
#551B81 #81221B #47811B #1B7A81
square
#551B81 #81221B #47811B #1B7A81
split-complementary
#551B81 #7A811B #1B8122
monochromatic
#12061C #34104E #551B81 #7626B4 #963FD7

Accessibility & contrast

On white

11.29
#551B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#551B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551B81
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B81#FFFFFF#000000##FFFFFF
##551B811.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#003B7F
Tritanopia (blue-blind)
#4D354D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #551b81;
/* rgb */ color: rgb(85, 27, 129);
/* oklch */ color: oklch(37.1% 0.160 305.6);
Tailwind
colors: {
  custom: {
    50: '#8a5ea6',
    500: '#551b81',
    950: '#000000',
  },
}
SCSS
$custom: #551b81;
$custom-light: #8a5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#551b81",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 274.118,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37062,
    "c": 0.16022,
    "h": 305.6
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#551B81
secondary
#74B543
accent
#E83F88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #551B81

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

Preview Lab → · Contrast checker → · Palette generator →

#551B81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva