#55175B#55175B

#55175B is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.127 H 324.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#55175B
RGBrgb(85, 23, 91)
HSLhsl(295, 60%, 22%)
HSVhsv(295, 75%, 36%)
CMYKcmyk(6.6%, 74.7%, 0%, 64.3%)
CIE-LABlab(21.21, 38.06, -26.74)
CIE-LCHlch(21.21, 46.51, 324.91°)
OKLaboklab(33.73% 0.1029 -0.0744)
OKLCHoklch(33.73% 0.127 324.1)
XYZxyz(5.9409, 3.2998, 10.2195)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55175B #1D5B17
analogous
#33175B #55175B #5B173F
triadic
#55175B #5B5517 #175B55
tetradic
#55175B #5B3317 #1D5B17 #173F5B
square
#55175B #5B3317 #1D5B17 #173F5B
split-complementary
#55175B #3F5B17 #175B33
monochromatic
#170618 #270B2A #55175B #83238C #B030BD

Accessibility & contrast

On white

12.65
#55175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55175B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55175B#FFFFFF#000000##FFFFFF
##55175B1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052E5D
Deuteranopia (green-blind)
#233559
Tritanopia (blue-blind)
#572237
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #55175b;
/* rgb */ color: rgb(85, 23, 91);
/* oklch */ color: oklch(33.7% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#875b8a',
    500: '#55175b',
    950: '#000000',
  },
}
SCSS
$custom: #55175b;
$custom-light: #875b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#55175b",
  "rgb": {
    "r": 85,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 294.706,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33726,
    "c": 0.12698,
    "h": 324.1
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#55175B
secondary
#44923C
accent
#E34553
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #55175B

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

Preview Lab → · Contrast checker → · Palette generator →

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