#55156C#55156C

#55156C is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.8% C 0.146 H 315.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#55156C
RGBrgb(85, 21, 108)
HSLhsl(284, 67%, 25%)
HSVhsv(284, 81%, 42%)
CMYKcmyk(21.3%, 80.6%, 0%, 57.6%)
CIE-LABlab(22.13, 42.42, -36.44)
CIE-LCHlch(22.13, 55.92, 319.34°)
OKLaboklab(34.76% 0.1033 -0.1028)
OKLCHoklch(34.76% 0.146 315.1)
XYZxyz(6.7208, 3.5506, 14.5158)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55156C #2C6C15
analogous
#29156C #55156C #6C1557
triadic
#55156C #6C5515 #156C55
tetradic
#55156C #6C2915 #2C6C15 #15576C
square
#55156C #6C2915 #2C6C15 #15576C
split-complementary
#55156C #576C15 #156C29
monochromatic
#14051A #2D0B39 #55156C #7D1F9F #A629D2

Accessibility & contrast

On white

12.28
#55156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#55156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55156C
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55156C#FFFFFF#000000##FFFFFF
##55156C1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#11376A
Tritanopia (blue-blind)
#532940
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55156c;
/* rgb */ color: rgb(85, 21, 108);
/* oklch */ color: oklch(34.8% 0.146 315.1);
Tailwind
colors: {
  custom: {
    50: '#885b97',
    500: '#55156c',
    950: '#000000',
  },
}
SCSS
$custom: #55156c;
$custom-light: #885b97;
$custom-dark: #000000;
JSON
{
  "hex": "#55156c",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 284.138,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34764,
    "c": 0.14574,
    "h": 315.1
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#55156C
secondary
#56A33A
accent
#EA3D6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55156C

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

Preview Lab → · Contrast checker → · Palette generator →

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