#551172#551172

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

Color values

HEX#551172
RGBrgb(85, 17, 114)
HSLhsl(282, 74%, 26%)
HSVhsv(282, 85%, 45%)
CMYKcmyk(25.4%, 85.1%, 0%, 55.3%)
CIE-LABlab(22.11, 45.13, -40.34)
CIE-LCHlch(22.11, 60.53, 318.21°)
OKLaboklab(34.91% 0.1055 -0.1142)
OKLCHoklch(34.91% 0.156 312.7)
XYZxyz(6.9835, 3.5473, 16.2332)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#551172 #2E7211
analogous
#241172 #551172 #72115E
triadic
#551172 #725511 #117255
tetradic
#551172 #722411 #2E7211 #115E72
square
#551172 #722411 #2E7211 #115E72
split-complementary
#551172 #5E7211 #117224
monochromatic
#14041B #2D093D #551172 #7D19A7 #A421DD

Accessibility & contrast

On white

12.29
#551172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #551172
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##551172#FFFFFF#000000##FFFFFF
##5511721.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#522A43
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #551172;
/* rgb */ color: rgb(85, 17, 114);
/* oklch */ color: oklch(34.9% 0.155 312.7);
Tailwind
colors: {
  custom: {
    50: '#89599b',
    500: '#551172',
    950: '#000000',
  },
}
SCSS
$custom: #551172;
$custom-light: #89599b;
$custom-dark: #000000;
JSON
{
  "hex": "#551172",
  "rgb": {
    "r": 85,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 282.062,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.1555,
    "h": 312.7
  },
  "luminance": 0.03547
}

Semantic roles & 50–950 ramp

primary
#551172
secondary
#58A936
accent
#F1376F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #551172

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

Preview Lab → · Contrast checker → · Palette generator →

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