#551872#551872

#551872 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.148 H 312.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#551872
RGBrgb(85, 24, 114)
HSLhsl(281, 65%, 27%)
HSVhsv(281, 79%, 45%)
CMYKcmyk(25.4%, 78.9%, 0%, 55.3%)
CIE-LABlab(23.00, 42.58, -38.90)
CIE-LCHlch(23.00, 57.67, 317.58°)
OKLaboklab(35.53% 0.0993 -0.1101)
OKLCHoklch(35.53% 0.148 312.1)
XYZxyz(7.1096, 3.7997, 16.2752)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551872 #357218
analogous
#281872 #551872 #721862
triadic
#551872 #725518 #187255
tetradic
#551872 #722818 #357218 #186272
square
#551872 #722818 #357218 #186272
split-complementary
#551872 #627218 #187228
monochromatic
#130519 #2F0D3F #551872 #7B23A5 #9F31D4

Accessibility & contrast

On white

11.93
#551872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#551872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551872
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551872#FFFFFF#000000##FFFFFF
##5518721.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#512D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551872;
/* rgb */ color: rgb(85, 24, 114);
/* oklch */ color: oklch(35.5% 0.148 312.1);
Tailwind
colors: {
  custom: {
    50: '#895c9b',
    500: '#551872',
    950: '#000000',
  },
}
SCSS
$custom: #551872;
$custom-light: #895c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551872",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 280.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.14826,
    "h": 312.1
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#551872
secondary
#60A73E
accent
#E84076
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551872

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

Preview Lab → · Contrast checker → · Palette generator →

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