#55166C#55166C

#55166C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.145 H 315.0°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#55166C
RGBrgb(85, 22, 108)
HSLhsl(284, 66%, 25%)
HSVhsv(284, 80%, 42%)
CMYKcmyk(21.3%, 79.6%, 0%, 57.6%)
CIE-LABlab(22.26, 42.04, -36.22)
CIE-LCHlch(22.26, 55.49, 319.25°)
OKLaboklab(34.86% 0.1023 -0.1022)
OKLCHoklch(34.86% 0.145 315)
XYZxyz(6.7396, 3.5881, 14.5220)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55166C #2D6C16
analogous
#2A166C #55166C #6C1658
triadic
#55166C #6C5516 #166C55
tetradic
#55166C #6C2A16 #2D6C16 #16586C
square
#55166C #6C2A16 #2D6C16 #16586C
split-complementary
#55166C #586C16 #166C2A
monochromatic
#140519 #2D0C39 #55166C #7D209F #A52BD2

Accessibility & contrast

On white

12.23
#55166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#55166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55166C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55166C#FFFFFF#000000##FFFFFF
##55166C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55166c;
/* rgb */ color: rgb(85, 22, 108);
/* oklch */ color: oklch(34.9% 0.145 315.0);
Tailwind
colors: {
  custom: {
    50: '#885b97',
    500: '#55166c',
    950: '#000000',
  },
}
SCSS
$custom: #55166c;
$custom-light: #885b97;
$custom-dark: #000000;
JSON
{
  "hex": "#55166c",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 283.953,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34858,
    "c": 0.14461,
    "h": 315
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#55166C
secondary
#57A23C
accent
#E93F6C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55166C

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

Preview Lab → · Contrast checker → · Palette generator →

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