#551B8D#551B8D

#551B8D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.173 H 301.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#551B8D
RGBrgb(85, 27, 141)
HSLhsl(271, 68%, 33%)
HSVhsv(271, 81%, 55%)
CMYKcmyk(39.7%, 80.9%, 0%, 44.7%)
CIE-LABlab(25.68, 47.78, -51.61)
CIE-LCHlch(25.68, 70.33, 312.79°)
OKLaboklab(38.11% 0.0899 -0.1474)
OKLCHoklch(38.11% 0.173 301.4)
XYZxyz(8.9448, 4.6382, 25.6182)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B8D #538D1B
analogous
#1C1B8D #551B8D #8D1B8C
triadic
#551B8D #8D551B #1B8D55
tetradic
#551B8D #8D1C1B #538D1B #1B8C8D
square
#551B8D #8D1C1B #538D1B #1B8C8D
split-complementary
#551B8D #8C8D1B #1B8D1C
monochromatic
#170726 #36115A #551B8D #7425C0 #9347DC

Accessibility & contrast

On white

10.89
#551B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#551B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551B8D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B8D#FFFFFF#000000##FFFFFF
##551B8D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#483A54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551b8d;
/* rgb */ color: rgb(85, 27, 141);
/* oklch */ color: oklch(38.1% 0.173 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b5faf',
    500: '#551b8d',
    950: '#000000',
  },
}
SCSS
$custom: #551b8d;
$custom-light: #8b5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#551b8d",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 270.526,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.1727,
    "h": 301.4
  },
  "luminance": 0.04638
}

Semantic roles & 50–950 ramp

primary
#551B8D
secondary
#81BD46
accent
#EB3D92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #551B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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