#55166E#55166E

#55166E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.147 H 314.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#55166E
RGBrgb(85, 22, 110)
HSLhsl(283, 67%, 26%)
HSVhsv(283, 80%, 43%)
CMYKcmyk(22.7%, 80%, 0%, 56.9%)
CIE-LABlab(22.41, 42.48, -37.27)
CIE-LCHlch(22.41, 56.51, 318.74°)
OKLaboklab(35.01% 0.102 -0.1053)
OKLCHoklch(35.01% 0.147 314.1)
XYZxyz(6.8472, 3.6311, 15.0890)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55166E #2F6E16
analogous
#29166E #55166E #6E165B
triadic
#55166E #6E5516 #166E55
tetradic
#55166E #6E2916 #2F6E16 #165B6E
square
#55166E #6E2916 #2F6E16 #165B6E
split-complementary
#55166E #5B6E16 #166E29
monochromatic
#14051A #2E0C3B #55166E #7C20A1 #A42AD4

Accessibility & contrast

On white

12.17
#55166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#55166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55166E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55166E#FFFFFF#000000##FFFFFF
##55166E1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#532A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55166e;
/* rgb */ color: rgb(85, 22, 110);
/* oklch */ color: oklch(35.0% 0.147 314.1);
Tailwind
colors: {
  custom: {
    50: '#885b98',
    500: '#55166e',
    950: '#000000',
  },
}
SCSS
$custom: #55166e;
$custom-light: #885b98;
$custom-dark: #000000;
JSON
{
  "hex": "#55166e",
  "rgb": {
    "r": 85,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 282.955,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35014,
    "c": 0.14657,
    "h": 314.1
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#55166E
secondary
#59A43C
accent
#EA3E6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55166E

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

Preview Lab → · Contrast checker → · Palette generator →

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