#551158#551158

#551158 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.9% C 0.132 H 326.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#551158
RGBrgb(85, 17, 88)
HSLhsl(297, 68%, 21%)
HSVhsv(297, 81%, 35%)
CMYKcmyk(3.4%, 80.7%, 0%, 65.5%)
CIE-LABlab(20.19, 39.80, -26.36)
CIE-LCHlch(20.19, 47.74, 326.49°)
OKLaboklab(32.94% 0.1094 -0.0733)
OKLCHoklch(32.94% 0.132 326.2)
XYZxyz(5.7081, 3.0372, 9.5162)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551158 #145811
analogous
#311158 #551158 #581137
triadic
#551158 #585511 #115855
tetradic
#551158 #583111 #145811 #113758
square
#551158 #583111 #145811 #113758
split-complementary
#551158 #375811 #115831
monochromatic
#19051A #230725 #551158 #871B8B #B825BF

Accessibility & contrast

On white

13.06
#551158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#551158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551158
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551158#FFFFFF#000000##FFFFFF
##5511581.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#223456
Tritanopia (blue-blind)
#571D34
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #551158;
/* rgb */ color: rgb(85, 17, 88);
/* oklch */ color: oklch(32.9% 0.132 326.2);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#551158',
    950: '#000000',
  },
}
SCSS
$custom: #551158;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#551158",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 297.465,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32938,
    "c": 0.13168,
    "h": 326.2
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#551158
secondary
#389134
accent
#EA3D45
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #551158

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

Preview Lab → · Contrast checker → · Palette generator →

#551158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva