#55166A#55166A

#55166A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.143 H 316.0°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#55166A
RGBrgb(85, 22, 106)
HSLhsl(285, 66%, 25%)
HSVhsv(285, 79%, 42%)
CMYKcmyk(19.8%, 79.2%, 0%, 58.4%)
CIE-LABlab(22.11, 41.60, -35.16)
CIE-LCHlch(22.11, 54.47, 319.80°)
OKLaboklab(34.7% 0.1026 -0.0991)
OKLCHoklch(34.7% 0.143 316)
XYZxyz(6.6343, 3.5460, 13.9679)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55166A #2B6A16
analogous
#2B166A #55166A #6A1655
triadic
#55166A #6A5516 #166A55
tetradic
#55166A #6A2B16 #2B6A16 #16556A
square
#55166A #6A2B16 #2B6A16 #16556A
split-complementary
#55166A #556A16 #166A2B
monochromatic
#140519 #2C0B37 #55166A #7E219D #A62BCF

Accessibility & contrast

On white

12.29
#55166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#55166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55166A
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55166A#FFFFFF#000000##FFFFFF
##55166A1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#153768
Tritanopia (blue-blind)
#54283F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55166a;
/* rgb */ color: rgb(85, 22, 106);
/* oklch */ color: oklch(34.7% 0.143 316.0);
Tailwind
colors: {
  custom: {
    50: '#885b95',
    500: '#55166a',
    950: '#000000',
  },
}
SCSS
$custom: #55166a;
$custom-light: #885b95;
$custom-dark: #000000;
JSON
{
  "hex": "#55166a",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 285,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34704,
    "c": 0.14266,
    "h": 316
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#55166A
secondary
#55A03B
accent
#E93F6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55166A

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

Preview Lab → · Contrast checker → · Palette generator →

#55166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva