#55176C#55176C

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

Color values

HEX#55176C
RGBrgb(85, 23, 108)
HSLhsl(284, 65%, 26%)
HSVhsv(284, 79%, 42%)
CMYKcmyk(21.3%, 78.7%, 0%, 57.6%)
CIE-LABlab(22.40, 41.64, -36.00)
CIE-LCHlch(22.40, 55.04, 319.16°)
OKLaboklab(34.96% 0.1013 -0.1015)
OKLCHoklch(34.96% 0.143 314.9)
XYZxyz(6.7590, 3.6270, 14.5285)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55176C #2E6C17
analogous
#2B176C #55176C #6C1758
triadic
#55176C #6C5517 #176C55
tetradic
#55176C #6C2B17 #2E6C17 #17586C
square
#55176C #6C2B17 #2E6C17 #17586C
split-complementary
#55176C #586C17 #176C2B
monochromatic
#140519 #2D0C3A #55176C #7D229E #A42CD1

Accessibility & contrast

On white

12.17
#55176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#55176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55176C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55176C#FFFFFF#000000##FFFFFF
##55176C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#13376A
Tritanopia (blue-blind)
#532A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55176c;
/* rgb */ color: rgb(85, 23, 108);
/* oklch */ color: oklch(35.0% 0.143 314.9);
Tailwind
colors: {
  custom: {
    50: '#885b97',
    500: '#55176c',
    950: '#000000',
  },
}
SCSS
$custom: #55176c;
$custom-light: #885b97;
$custom-dark: #000000;
JSON
{
  "hex": "#55176c",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 283.765,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.14345,
    "h": 314.9
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#55176C
secondary
#58A23D
accent
#E8406D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55176C

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

Preview Lab → · Contrast checker → · Palette generator →

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