#551173#551173

#551173 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.156 H 312.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#551173
RGBrgb(85, 17, 115)
HSLhsl(282, 74%, 26%)
HSVhsv(282, 85%, 45%)
CMYKcmyk(26.1%, 85.2%, 0%, 54.9%)
CIE-LABlab(22.20, 45.35, -40.85)
CIE-LCHlch(22.20, 61.03, 317.99°)
OKLaboklab(34.99% 0.1053 -0.1157)
OKLCHoklch(34.99% 0.156 312.3)
XYZxyz(7.0407, 3.5702, 16.5346)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551173 #2F7311
analogous
#241173 #551173 #731160
triadic
#551173 #735511 #117355
tetradic
#551173 #732411 #2F7311 #116073
square
#551173 #732411 #2F7311 #116073
split-complementary
#551173 #607311 #117324
monochromatic
#14041B #2E093E #551173 #7C19A8 #A421DE

Accessibility & contrast

On white

12.25
#551173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#551173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #551173
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551173#FFFFFF#000000##FFFFFF
##5511731.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#512A43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551173;
/* rgb */ color: rgb(85, 17, 115);
/* oklch */ color: oklch(35.0% 0.156 312.3);
Tailwind
colors: {
  custom: {
    50: '#89599c',
    500: '#551173',
    950: '#000000',
  },
}
SCSS
$custom: #551173;
$custom-light: #89599c;
$custom-dark: #000000;
JSON
{
  "hex": "#551173",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 281.633,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.15644,
    "h": 312.3
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#551173
secondary
#59AA36
accent
#F13770
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551173

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

Preview Lab → · Contrast checker → · Palette generator →

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