#551971#551971

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

Color values

HEX#551971
RGBrgb(85, 25, 113)
HSLhsl(281, 64%, 27%)
HSVhsv(281, 78%, 44%)
CMYKcmyk(24.8%, 77.9%, 0%, 55.7%)
CIE-LABlab(23.06, 41.94, -38.15)
CIE-LCHlch(23.06, 56.70, 317.71°)
OKLaboklab(35.55% 0.0985 -0.1079)
OKLCHoklch(35.55% 0.146 312.4)
XYZxyz(7.0740, 3.8190, 15.9841)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551971 #357119
analogous
#291971 #551971 #711961
triadic
#551971 #715519 #197155
tetradic
#551971 #712919 #357119 #196171
square
#551971 #712919 #357119 #196171
split-complementary
#551971 #617119 #197129
monochromatic
#130619 #2F0E3F #551971 #7B24A3 #9F33D2

Accessibility & contrast

On white

11.91
#551971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551971
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551971#FFFFFF#000000##FFFFFF
##5519711.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#0D386F
Tritanopia (blue-blind)
#522D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #551971;
/* rgb */ color: rgb(85, 25, 113);
/* oklch */ color: oklch(35.5% 0.146 312.4);
Tailwind
colors: {
  custom: {
    50: '#885d9a',
    500: '#551971',
    950: '#000000',
  },
}
SCSS
$custom: #551971;
$custom-light: #885d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#551971",
  "rgb": {
    "r": 85,
    "g": 25,
    "b": 113
  },
  "hsl": {
    "h": 280.909,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35547,
    "c": 0.14608,
    "h": 312.4
  },
  "luminance": 0.03819
}

Semantic roles & 50–950 ramp

primary
#551971
secondary
#60A640
accent
#E74176
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551971

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

Preview Lab → · Contrast checker → · Palette generator →

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