#551A8B#551A8B

#551A8B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.172 H 302.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#551A8B
RGBrgb(85, 26, 139)
HSLhsl(271, 68%, 32%)
HSVhsv(271, 81%, 55%)
CMYKcmyk(38.8%, 81.3%, 0%, 45.5%)
CIE-LABlab(25.36, 47.69, -50.88)
CIE-LCHlch(25.36, 69.73, 313.14°)
OKLaboklab(37.84% 0.0913 -0.1453)
OKLCHoklch(37.84% 0.172 302.2)
XYZxyz(8.7748, 4.5341, 24.8340)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551A8B #508B1A
analogous
#1C1A8B #551A8B #8B1A89
triadic
#551A8B #8B551A #1A8B55
tetradic
#551A8B #8B1C1A #508B1A #1A898B
square
#551A8B #8B1C1A #508B1A #1A898B
split-complementary
#551A8B #898B1A #1A8B1C
monochromatic
#160724 #351057 #551A8B #7524BF #9343DC

Accessibility & contrast

On white

11.01
#551A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#551A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551A8B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551A8B#FFFFFF#000000##FFFFFF
##551A8B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#493953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #551a8b;
/* rgb */ color: rgb(85, 26, 139);
/* oklch */ color: oklch(37.8% 0.172 302.2);
Tailwind
colors: {
  custom: {
    50: '#8b5eae',
    500: '#551a8b',
    950: '#000000',
  },
}
SCSS
$custom: #551a8b;
$custom-light: #8b5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#551a8b",
  "rgb": {
    "r": 85,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 271.327,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37836,
    "c": 0.17161,
    "h": 302.2
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#551A8B
secondary
#7EBD44
accent
#EB3C90
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #551A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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