#551A8E#551A8E

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

Color values

HEX#551A8E
RGBrgb(85, 26, 142)
HSLhsl(271, 69%, 33%)
HSVhsv(271, 82%, 56%)
CMYKcmyk(40.1%, 81.7%, 0%, 44.3%)
CIE-LABlab(25.63, 48.42, -52.31)
CIE-LCHlch(25.63, 71.28, 312.79°)
OKLaboklab(38.11% 0.0904 -0.1495)
OKLCHoklch(38.11% 0.175 301.2)
XYZxyz(8.9970, 4.6230, 26.0043)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A8E #538E1A
analogous
#1B1A8E #551A8E #8E1A8D
triadic
#551A8E #8E551A #1A8E55
tetradic
#551A8E #8E1B1A #538E1A #1A8D8E
square
#551A8E #8E1B1A #538E1A #1A8D8E
split-complementary
#551A8E #8D8E1A #1A8E1B
monochromatic
#170727 #36115A #551A8E #7423C2 #9345DD

Accessibility & contrast

On white

10.91
#551A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#551A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551A8E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A8E#FFFFFF#000000##FFFFFF
##551A8E1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.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: #551a8e;
/* rgb */ color: rgb(85, 26, 142);
/* oklch */ color: oklch(38.1% 0.175 301.2);
Tailwind
colors: {
  custom: {
    50: '#8b5fb0',
    500: '#551a8e',
    950: '#000000',
  },
}
SCSS
$custom: #551a8e;
$custom-light: #8b5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#551a8e",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 270.517,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38106,
    "c": 0.17469,
    "h": 301.2
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#551A8E
secondary
#81BE45
accent
#EC3C92
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #551A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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