#55175A#55175A

#55175A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.126 H 324.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#55175A
RGBrgb(85, 23, 90)
HSLhsl(296, 59%, 22%)
HSVhsv(296, 74%, 35%)
CMYKcmyk(5.6%, 74.4%, 0%, 64.7%)
CIE-LABlab(21.14, 37.86, -26.18)
CIE-LCHlch(21.14, 46.03, 325.34°)
OKLaboklab(33.66% 0.1029 -0.0728)
OKLCHoklch(33.66% 0.126 324.7)
XYZxyz(5.8980, 3.2826, 9.9938)
Luminance0.0328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55175A #1C5A17
analogous
#33175A #55175A #5A173E
triadic
#55175A #5A5517 #175A55
tetradic
#55175A #5A3317 #1C5A17 #173E5A
square
#55175A #5A3317 #1C5A17 #173E5A
split-complementary
#55175A #3E5A17 #175A33
monochromatic
#170618 #270B29 #55175A #83238B #B130BB

Accessibility & contrast

On white

12.68
#55175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#55175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55175A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55175A#FFFFFF#000000##FFFFFF
##55175A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062E5C
Deuteranopia (green-blind)
#243558
Tritanopia (blue-blind)
#572236
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #55175a;
/* rgb */ color: rgb(85, 23, 90);
/* oklch */ color: oklch(33.7% 0.126 324.7);
Tailwind
colors: {
  custom: {
    50: '#875b89',
    500: '#55175a',
    950: '#000000',
  },
}
SCSS
$custom: #55175a;
$custom-light: #875b89;
$custom-dark: #000000;
JSON
{
  "hex": "#55175a",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 295.522,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.12604,
    "h": 324.7
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#55175A
secondary
#42913C
accent
#E24551
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #55175A

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

Preview Lab → · Contrast checker → · Palette generator →

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