#551772#551772

#551772 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.149 H 312.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#551772
RGBrgb(85, 23, 114)
HSLhsl(281, 66%, 27%)
HSVhsv(281, 80%, 45%)
CMYKcmyk(25.4%, 79.8%, 0%, 55.3%)
CIE-LABlab(22.86, 42.98, -39.13)
CIE-LCHlch(22.86, 58.12, 317.68°)
OKLaboklab(35.43% 0.1003 -0.1107)
OKLCHoklch(35.43% 0.149 312.2)
XYZxyz(7.0894, 3.7592, 16.2685)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551772 #347217
analogous
#281772 #551772 #721762
triadic
#551772 #725517 #177255
tetradic
#551772 #722817 #347217 #176272
square
#551772 #722817 #347217 #176272
split-complementary
#551772 #627217 #177228
monochromatic
#130519 #2F0D3F #551772 #7B21A5 #A02ED5

Accessibility & contrast

On white

11.99
#551772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#551772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551772
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551772#FFFFFF#000000##FFFFFF
##5517721.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #551772;
/* rgb */ color: rgb(85, 23, 114);
/* oklch */ color: oklch(35.4% 0.149 312.2);
Tailwind
colors: {
  custom: {
    50: '#895c9b',
    500: '#551772',
    950: '#000000',
  },
}
SCSS
$custom: #551772;
$custom-light: #895c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#551772",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 280.879,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35427,
    "c": 0.14939,
    "h": 312.2
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#551772
secondary
#5FA83D
accent
#E93E75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551772

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

Preview Lab → · Contrast checker → · Palette generator →

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