#551257#551257

#551257 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.130 H 326.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#551257
RGBrgb(85, 18, 87)
HSLhsl(298, 66%, 21%)
HSVhsv(298, 79%, 34%)
CMYKcmyk(2.3%, 79.3%, 0%, 65.9%)
CIE-LABlab(20.25, 39.25, -25.59)
CIE-LCHlch(20.25, 46.86, 326.90°)
OKLaboklab(32.96% 0.1084 -0.0711)
OKLCHoklch(32.96% 0.13 326.8)
XYZxyz(5.6828, 3.0524, 9.3048)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551257 #145712
analogous
#321257 #551257 #571236
triadic
#551257 #575512 #125755
tetradic
#551257 #573212 #145712 #123657
square
#551257 #573212 #145712 #123657
split-complementary
#551257 #365712 #125732
monochromatic
#190519 #230824 #551257 #871C8A #B827BC

Accessibility & contrast

On white

13.04
#551257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551257
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551257#FFFFFF#000000##FFFFFF
##5512571.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551257;
/* rgb */ color: rgb(85, 18, 87);
/* oklch */ color: oklch(33.0% 0.130 326.8);
Tailwind
colors: {
  custom: {
    50: '#885887',
    500: '#551257',
    950: '#000000',
  },
}
SCSS
$custom: #551257;
$custom-light: #885887;
$custom-dark: #000000;
JSON
{
  "hex": "#551257",
  "rgb": {
    "r": 85,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 298.261,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.12965,
    "h": 326.8
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#551257
secondary
#389035
accent
#E93F44
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #551257

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

Preview Lab → · Contrast checker → · Palette generator →

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