#55175D#55175D

#55175D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.129 H 322.9°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#55175D
RGBrgb(85, 23, 93)
HSLhsl(293, 60%, 23%)
HSVhsv(293, 75%, 36%)
CMYKcmyk(8.6%, 75.3%, 0%, 63.5%)
CIE-LABlab(21.34, 38.46, -27.86)
CIE-LCHlch(21.34, 47.49, 324.08°)
OKLaboklab(33.86% 0.1028 -0.0777)
OKLCHoklch(33.86% 0.129 322.9)
XYZxyz(6.0283, 3.3347, 10.6799)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55175D #1F5D17
analogous
#32175D #55175D #5D1742
triadic
#55175D #5D5517 #175D55
tetradic
#55175D #5D3217 #1F5D17 #17425D
square
#55175D #5D3217 #1F5D17 #17425D
split-complementary
#55175D #425D17 #175D32
monochromatic
#160619 #280B2C #55175D #82238E #AF2FBF

Accessibility & contrast

On white

12.60
#55175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#55175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55175D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55175D#FFFFFF#000000##FFFFFF
##55175D1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012F5F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#562338
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #55175d;
/* rgb */ color: rgb(85, 23, 93);
/* oklch */ color: oklch(33.9% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#885b8b',
    500: '#55175d',
    950: '#000000',
  },
}
SCSS
$custom: #55175d;
$custom-light: #885b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#55175d",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 293.143,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33862,
    "c": 0.12888,
    "h": 322.9
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#55175D
secondary
#46943C
accent
#E34457
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #55175D

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

Preview Lab → · Contrast checker → · Palette generator →

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