#551171#551171

#551171 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.155 H 313.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#551171
RGBrgb(85, 17, 113)
HSLhsl(283, 74%, 25%)
HSVhsv(283, 85%, 44%)
CMYKcmyk(24.8%, 85%, 0%, 55.7%)
CIE-LABlab(22.03, 44.91, -39.82)
CIE-LCHlch(22.03, 60.03, 318.44°)
OKLaboklab(34.82% 0.1057 -0.1127)
OKLCHoklch(34.82% 0.155 313.2)
XYZxyz(6.9269, 3.5247, 15.9350)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551171 #2D7111
analogous
#251171 #551171 #71115D
triadic
#551171 #715511 #117155
tetradic
#551171 #712511 #2D7111 #115D71
square
#551171 #712511 #2D7111 #115D71
split-complementary
#551171 #5D7111 #117125
monochromatic
#14041B #2D093C #551171 #7D19A6 #A521DB

Accessibility & contrast

On white

12.32
#551171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#551171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551171
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551171#FFFFFF#000000##FFFFFF
##5511711.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#02366F
Tritanopia (blue-blind)
#522942
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551171;
/* rgb */ color: rgb(85, 17, 113);
/* oklch */ color: oklch(34.8% 0.155 313.2);
Tailwind
colors: {
  custom: {
    50: '#89599a',
    500: '#551171',
    950: '#000000',
  },
}
SCSS
$custom: #551171;
$custom-light: #89599a;
$custom-dark: #000000;
JSON
{
  "hex": "#551171",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 282.5,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.15456,
    "h": 313.2
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#551171
secondary
#57A836
accent
#F1376D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551171

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

Preview Lab → · Contrast checker → · Palette generator →

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