#55156E#55156E

#55156E is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.148 H 314.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#55156E
RGBrgb(85, 21, 110)
HSLhsl(283, 68%, 26%)
HSVhsv(283, 81%, 43%)
CMYKcmyk(22.7%, 80.9%, 0%, 56.9%)
CIE-LABlab(22.28, 42.86, -37.48)
CIE-LCHlch(22.28, 56.94, 318.83°)
OKLaboklab(34.92% 0.1029 -0.1059)
OKLCHoklch(34.92% 0.148 314.2)
XYZxyz(6.8285, 3.5937, 15.0828)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55156E #2E6E15
analogous
#28156E #55156E #6E155A
triadic
#55156E #6E5515 #156E55
tetradic
#55156E #6E2815 #2E6E15 #155A6E
square
#55156E #6E2815 #2E6E15 #155A6E
split-complementary
#55156E #5A6E15 #156E28
monochromatic
#14051A #2D0B3B #55156E #7D1FA1 #A429D5

Accessibility & contrast

On white

12.22
#55156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#55156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55156E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55156E#FFFFFF#000000##FFFFFF
##55156E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #55156e;
/* rgb */ color: rgb(85, 21, 110);
/* oklch */ color: oklch(34.9% 0.148 314.2);
Tailwind
colors: {
  custom: {
    50: '#885b98',
    500: '#55156e',
    950: '#000000',
  },
}
SCSS
$custom: #55156e;
$custom-light: #885b98;
$custom-dark: #000000;
JSON
{
  "hex": "#55156e",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 283.146,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.14767,
    "h": 314.2
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#55156E
secondary
#58A43A
accent
#EB3D6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55156E

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

Preview Lab → · Contrast checker → · Palette generator →

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