#55156F#55156F

#55156F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.149 H 313.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#55156F
RGBrgb(85, 21, 111)
HSLhsl(283, 68%, 26%)
HSVhsv(283, 81%, 44%)
CMYKcmyk(23.4%, 81.1%, 0%, 56.5%)
CIE-LABlab(22.36, 43.08, -38.00)
CIE-LCHlch(22.36, 57.45, 318.58°)
OKLaboklab(35% 0.1027 -0.1074)
OKLCHoklch(35% 0.149 313.7)
XYZxyz(6.8832, 3.6156, 15.3711)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55156F #2F6F15
analogous
#28156F #55156F #6F155C
triadic
#55156F #6F5515 #156F55
tetradic
#55156F #6F2815 #2F6F15 #155C6F
square
#55156F #6F2815 #2F6F15 #155C6F
split-complementary
#55156F #5C6F15 #156F28
monochromatic
#14051A #2E0B3C #55156F #7C1FA2 #A428D6

Accessibility & contrast

On white

12.19
#55156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55156F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55156F#FFFFFF#000000##FFFFFF
##55156F1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#0C376D
Tritanopia (blue-blind)
#522A42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55156f;
/* rgb */ color: rgb(85, 21, 111);
/* oklch */ color: oklch(35.0% 0.149 313.7);
Tailwind
colors: {
  custom: {
    50: '#895b99',
    500: '#55156f',
    950: '#000000',
  },
}
SCSS
$custom: #55156f;
$custom-light: #895b99;
$custom-dark: #000000;
JSON
{
  "hex": "#55156f",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 282.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35,
    "c": 0.14865,
    "h": 313.7
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#55156F
secondary
#59A53A
accent
#EB3D6F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55156F

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

Preview Lab → · Contrast checker → · Palette generator →

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