#55175C#55175C

#55175C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.128 H 323.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#55175C
RGBrgb(85, 23, 92)
HSLhsl(294, 60%, 23%)
HSVhsv(294, 75%, 36%)
CMYKcmyk(7.6%, 75%, 0%, 63.9%)
CIE-LABlab(21.27, 38.26, -27.30)
CIE-LCHlch(21.27, 47.00, 324.49°)
OKLaboklab(33.79% 0.1028 -0.0761)
OKLCHoklch(33.79% 0.128 323.5)
XYZxyz(5.9843, 3.3171, 10.4482)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55175C #1E5C17
analogous
#32175C #55175C #5C1740
triadic
#55175C #5C5517 #175C55
tetradic
#55175C #5C3217 #1E5C17 #17405C
square
#55175C #5C3217 #1E5C17 #17405C
split-complementary
#55175C #405C17 #175C32
monochromatic
#170618 #280B2B #55175C #82238D #AF2FBE

Accessibility & contrast

On white

12.62
#55175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55175C
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55175C#FFFFFF#000000##FFFFFF
##55175C1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#22365A
Tritanopia (blue-blind)
#572338
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #55175c;
/* rgb */ color: rgb(85, 23, 92);
/* oklch */ color: oklch(33.8% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#875b8a',
    500: '#55175c',
    950: '#000000',
  },
}
SCSS
$custom: #55175c;
$custom-light: #875b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#55175c",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 293.913,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33794,
    "c": 0.12793,
    "h": 323.5
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#55175C
secondary
#45933C
accent
#E34555
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55175C

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

Preview Lab → · Contrast checker → · Palette generator →

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