#55176A#55176A

#55176A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.141 H 315.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#55176A
RGBrgb(85, 23, 106)
HSLhsl(285, 64%, 25%)
HSVhsv(285, 78%, 42%)
CMYKcmyk(19.8%, 78.3%, 0%, 58.4%)
CIE-LABlab(22.25, 41.20, -34.94)
CIE-LCHlch(22.25, 54.02, 319.70°)
OKLaboklab(34.8% 0.1016 -0.0984)
OKLCHoklch(34.8% 0.141 315.9)
XYZxyz(6.6538, 3.5850, 13.9743)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55176A #2C6A17
analogous
#2B176A #55176A #6A1755
triadic
#55176A #6A5517 #176A55
tetradic
#55176A #6A2B17 #2C6A17 #17556A
square
#55176A #6A2B17 #2C6A17 #17556A
split-complementary
#55176A #556A17 #176A2B
monochromatic
#140519 #2D0C38 #55176A #7D229C #A62DCF

Accessibility & contrast

On white

12.23
#55176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#55176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55176A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55176A#FFFFFF#000000##FFFFFF
##55176A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#163768
Tritanopia (blue-blind)
#54293F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55176a;
/* rgb */ color: rgb(85, 23, 106);
/* oklch */ color: oklch(34.8% 0.141 315.9);
Tailwind
colors: {
  custom: {
    50: '#885b95',
    500: '#55176a',
    950: '#000000',
  },
}
SCSS
$custom: #55176a;
$custom-light: #885b95;
$custom-dark: #000000;
JSON
{
  "hex": "#55176a",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 284.819,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34803,
    "c": 0.14148,
    "h": 315.9
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#55176A
secondary
#56A03D
accent
#E7406B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55176A

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

Preview Lab → · Contrast checker → · Palette generator →

#55176A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva