#55174C#55174C

#55174C is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.113 H 334.2°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#55174C
RGBrgb(85, 23, 76)
HSLhsl(309, 57%, 21%)
HSVhsv(309, 73%, 33%)
CMYKcmyk(0%, 72.9%, 10.6%, 66.7%)
CIE-LABlab(20.31, 35.21, -18.07)
CIE-LCHlch(20.31, 39.58, 332.83°)
OKLaboklab(32.79% 0.1021 -0.0494)
OKLCHoklch(32.79% 0.113 334.2)
XYZxyz(5.3573, 3.0663, 7.1458)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55174C #175520
analogous
#3F1755 #55174C #55172D
triadic
#55174C #4C5517 #174C55
tetradic
#55174C #553F17 #175520 #172D55
square
#55174C #553F17 #175520 #172D55
split-complementary
#55174C #2D5517 #17553F
monochromatic
#180716 #250A21 #55174C #852477 #B531A2

Accessibility & contrast

On white

13.02
#55174C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#55174C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55174C
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55174C#FFFFFF#000000##FFFFFF
##55174C1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162B4E
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#591C2F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #55174c;
/* rgb */ color: rgb(85, 23, 76);
/* oklch */ color: oklch(32.8% 0.113 334.2);
Tailwind
colors: {
  custom: {
    50: '#875a7e',
    500: '#55174c',
    950: '#000000',
  },
}
SCSS
$custom: #55174c;
$custom-light: #875a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#55174c",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 76
  },
  "hsl": {
    "h": 308.71,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32787,
    "c": 0.11341,
    "h": 334.2
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#55174C
secondary
#3C8C47
accent
#E15D47
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #55174C

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

Preview Lab → · Contrast checker → · Palette generator →

#55174C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva