#55166B#55166B

#55166B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.144 H 315.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#55166B
RGBrgb(85, 22, 107)
HSLhsl(284, 66%, 25%)
HSVhsv(284, 79%, 42%)
CMYKcmyk(20.6%, 79.4%, 0%, 58%)
CIE-LABlab(22.18, 41.82, -35.69)
CIE-LCHlch(22.18, 54.98, 319.52°)
OKLaboklab(34.78% 0.1025 -0.1006)
OKLCHoklch(34.78% 0.144 315.5)
XYZxyz(6.6866, 3.5669, 14.2433)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55166B #2C6B16
analogous
#2B166B #55166B #6B1656
triadic
#55166B #6B5516 #166B55
tetradic
#55166B #6B2B16 #2C6B16 #16566B
square
#55166B #6B2B16 #2C6B16 #16566B
split-complementary
#55166B #566B16 #166B2B
monochromatic
#140519 #2D0C38 #55166B #7D209E #A62BD1

Accessibility & contrast

On white

12.26
#55166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55166B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55166B#FFFFFF#000000##FFFFFF
##55166B1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#143769
Tritanopia (blue-blind)
#532940
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55166b;
/* rgb */ color: rgb(85, 22, 107);
/* oklch */ color: oklch(34.8% 0.144 315.5);
Tailwind
colors: {
  custom: {
    50: '#885b96',
    500: '#55166b',
    950: '#000000',
  },
}
SCSS
$custom: #55166b;
$custom-light: #885b96;
$custom-dark: #000000;
JSON
{
  "hex": "#55166b",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 284.471,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34781,
    "c": 0.14363,
    "h": 315.5
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#55166B
secondary
#56A13B
accent
#E93F6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55166B

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

Preview Lab → · Contrast checker → · Palette generator →

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