#55174B#55174B

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

Color values

HEX#55174B
RGBrgb(85, 23, 75)
HSLhsl(310, 57%, 21%)
HSVhsv(310, 73%, 33%)
CMYKcmyk(0%, 72.9%, 11.8%, 66.7%)
CIE-LABlab(20.25, 35.03, -17.48)
CIE-LCHlch(20.25, 39.15, 333.49°)
OKLaboklab(32.73% 0.102 -0.0477)
OKLCHoklch(32.73% 0.113 334.9)
XYZxyz(5.3228, 3.0525, 6.9641)
Luminance0.0305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55174B #175521
analogous
#401755 #55174B #55172C
triadic
#55174B #4B5517 #174B55
tetradic
#55174B #554017 #175521 #172C55
square
#55174B #554017 #175521 #172C55
split-complementary
#55174B #2C5517 #175540
monochromatic
#180715 #250A20 #55174B #852475 #B531A0

Accessibility & contrast

On white

13.04
#55174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55174B
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55174B#FFFFFF#000000##FFFFFF
##55174B1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4D
Deuteranopia (green-blind)
#2C3449
Tritanopia (blue-blind)
#591B2E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #55174b;
/* rgb */ color: rgb(85, 23, 75);
/* oklch */ color: oklch(32.7% 0.113 334.9);
Tailwind
colors: {
  custom: {
    50: '#875a7d',
    500: '#55174b',
    950: '#000000',
  },
}
SCSS
$custom: #55174b;
$custom-light: #875a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#55174b",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 309.677,
    "s": 57.407,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3273,
    "c": 0.11256,
    "h": 334.9
  },
  "luminance": 0.03052
}

Semantic roles & 50–950 ramp

primary
#55174B
secondary
#3C8C49
accent
#E16047
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #55174B

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

Preview Lab → · Contrast checker → · Palette generator →

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