#551771#551771

#551771 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.148 H 312.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#551771
RGBrgb(85, 23, 113)
HSLhsl(281, 66%, 27%)
HSVhsv(281, 80%, 44%)
CMYKcmyk(24.8%, 79.6%, 0%, 55.7%)
CIE-LABlab(22.78, 42.75, -38.61)
CIE-LCHlch(22.78, 57.61, 317.91°)
OKLaboklab(35.35% 0.1005 -0.1092)
OKLCHoklch(35.35% 0.148 312.6)
XYZxyz(7.0328, 3.7366, 15.9703)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551771 #337117
analogous
#281771 #551771 #711760
triadic
#551771 #715517 #177155
tetradic
#551771 #712817 #337117 #176071
square
#551771 #712817 #337117 #176071
split-complementary
#551771 #607117 #177128
monochromatic
#130519 #2F0D3E #551771 #7B21A4 #A12ED4

Accessibility & contrast

On white

12.02
#551771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551771
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551771#FFFFFF#000000##FFFFFF
##5517711.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#0A386F
Tritanopia (blue-blind)
#522C43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #551771;
/* rgb */ color: rgb(85, 23, 113);
/* oklch */ color: oklch(35.3% 0.148 312.6);
Tailwind
colors: {
  custom: {
    50: '#895c9a',
    500: '#551771',
    950: '#000000',
  },
}
SCSS
$custom: #551771;
$custom-light: #895c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#551771",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 281.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.1484,
    "h": 312.6
  },
  "luminance": 0.03736
}

Semantic roles & 50–950 ramp

primary
#551771
secondary
#5EA73D
accent
#E93F74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551771

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

Preview Lab → · Contrast checker → · Palette generator →

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