#55174F#55174F

#55174F is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.0% C 0.116 H 332.0°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#55174F
RGBrgb(85, 23, 79)
HSLhsl(306, 57%, 21%)
HSVhsv(306, 73%, 33%)
CMYKcmyk(0%, 72.9%, 7.1%, 66.7%)
CIE-LABlab(20.48, 35.75, -19.85)
CIE-LCHlch(20.48, 40.89, 330.96°)
OKLaboklab(32.96% 0.1024 -0.0545)
OKLCHoklch(32.96% 0.116 332)
XYZxyz(5.4640, 3.1090, 7.7079)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55174F #17551D
analogous
#3C1755 #55174F #551730
triadic
#55174F #4F5517 #174F55
tetradic
#55174F #553C17 #17551D #173055
square
#55174F #553C17 #17551D #173055
split-complementary
#55174F #305517 #17553C
monochromatic
#180716 #250A22 #55174F #85247C #B531A9

Accessibility & contrast

On white

12.95
#55174F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55174F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55174F#FFFFFF#000000##FFFFFF
##55174F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55174f;
/* rgb */ color: rgb(85, 23, 79);
/* oklch */ color: oklch(33.0% 0.116 332.0);
Tailwind
colors: {
  custom: {
    50: '#875a80',
    500: '#55174f',
    950: '#000000',
  },
}
SCSS
$custom: #55174f;
$custom-light: #875a80;
$custom-dark: #000000;
JSON
{
  "hex": "#55174f",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 79
  },
  "hsl": {
    "h": 305.806,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.11601,
    "h": 332
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#55174F
secondary
#3C8C44
accent
#E15647
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #55174F

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

Preview Lab → · Contrast checker → · Palette generator →

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