#55174E#55174E

#55174E is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.115 H 332.7°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#55174E
RGBrgb(85, 23, 78)
HSLhsl(307, 57%, 21%)
HSVhsv(307, 73%, 33%)
CMYKcmyk(0%, 72.9%, 8.2%, 66.7%)
CIE-LABlab(20.42, 35.57, -19.26)
CIE-LCHlch(20.42, 40.45, 331.57°)
OKLaboklab(32.9% 0.1023 -0.0528)
OKLCHoklch(32.9% 0.115 332.7)
XYZxyz(5.4279, 3.0946, 7.5177)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55174E #17551E
analogous
#3D1755 #55174E #55172F
triadic
#55174E #4E5517 #174E55
tetradic
#55174E #553D17 #17551E #172F55
square
#55174E #553D17 #17551E #172F55
split-complementary
#55174E #2F5517 #17553D
monochromatic
#180716 #250A22 #55174E #85247A #B531A6

Accessibility & contrast

On white

12.97
#55174E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#55174E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55174E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55174E#FFFFFF#000000##FFFFFF
##55174E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142C50
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#591D30
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #55174e;
/* rgb */ color: rgb(85, 23, 78);
/* oklch */ color: oklch(32.9% 0.115 332.7);
Tailwind
colors: {
  custom: {
    50: '#875a80',
    500: '#55174e',
    950: '#000000',
  },
}
SCSS
$custom: #55174e;
$custom-light: #875a80;
$custom-dark: #000000;
JSON
{
  "hex": "#55174e",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 78
  },
  "hsl": {
    "h": 306.774,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32904,
    "c": 0.11514,
    "h": 332.7
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#55174E
secondary
#3C8C45
accent
#E15847
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #55174E

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

Preview Lab → · Contrast checker → · Palette generator →

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