#551B8E#551B8E

#551B8E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.174 H 301.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#551B8E
RGBrgb(85, 27, 142)
HSLhsl(270, 68%, 33%)
HSVhsv(270, 81%, 56%)
CMYKcmyk(40.1%, 81%, 0%, 44.3%)
CIE-LABlab(25.77, 48.03, -52.09)
CIE-LCHlch(25.77, 70.85, 312.68°)
OKLaboklab(38.2% 0.0896 -0.1488)
OKLCHoklch(38.2% 0.174 301.1)
XYZxyz(9.0195, 4.6681, 26.0118)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551B8E #548E1B
analogous
#1C1B8E #551B8E #8E1B8D
triadic
#551B8E #8E551B #1B8E55
tetradic
#551B8E #8E1C1B #548E1B #1B8D8E
square
#551B8E #8E1C1B #548E1B #1B8D8E
split-complementary
#551B8E #8D8E1B #1B8E1C
monochromatic
#170727 #36115B #551B8E #7425C1 #9247DC

Accessibility & contrast

On white

10.86
#551B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551B8E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551B8E#FFFFFF#000000##FFFFFF
##551B8E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#483A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #551b8e;
/* rgb */ color: rgb(85, 27, 142);
/* oklch */ color: oklch(38.2% 0.174 301.1);
Tailwind
colors: {
  custom: {
    50: '#8b5fb0',
    500: '#551b8e',
    950: '#000000',
  },
}
SCSS
$custom: #551b8e;
$custom-light: #8b5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#551b8e",
  "rgb": {
    "r": 85,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 270.261,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.382,
    "c": 0.17373,
    "h": 301.1
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#551B8E
secondary
#82BE47
accent
#EB3D93
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #551B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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