#551157#551157

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

Color values

HEX#551157
RGBrgb(85, 17, 87)
HSLhsl(298, 67%, 20%)
HSVhsv(298, 80%, 34%)
CMYKcmyk(2.3%, 80.5%, 0%, 65.9%)
CIE-LABlab(20.13, 39.61, -25.79)
CIE-LCHlch(20.13, 47.27, 326.93°)
OKLaboklab(32.87% 0.1095 -0.0716)
OKLCHoklch(32.87% 0.131 326.8)
XYZxyz(5.6670, 3.0207, 9.2996)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551157 #135711
analogous
#321157 #551157 #571136
triadic
#551157 #575511 #115755
tetradic
#551157 #573211 #135711 #113657
square
#551157 #573211 #135711 #113657
split-complementary
#551157 #365711 #115732
monochromatic
#19051A #230724 #551157 #871B8A #B925BD

Accessibility & contrast

On white

13.09
#551157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#551157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551157
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551157#FFFFFF#000000##FFFFFF
##5511571.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B59
Deuteranopia (green-blind)
#233455
Tritanopia (blue-blind)
#581D33
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #551157;
/* rgb */ color: rgb(85, 17, 87);
/* oklch */ color: oklch(32.9% 0.131 326.8);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#551157',
    950: '#000000',
  },
}
SCSS
$custom: #551157;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#551157",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 298.286,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32871,
    "c": 0.13081,
    "h": 326.8
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#551157
secondary
#369034
accent
#EA3E43
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #551157

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

Preview Lab → · Contrast checker → · Palette generator →

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