#55156B#55156B

#55156B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.145 H 315.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#55156B
RGBrgb(85, 21, 107)
HSLhsl(285, 67%, 25%)
HSVhsv(285, 80%, 42%)
CMYKcmyk(20.6%, 80.4%, 0%, 58%)
CIE-LABlab(22.05, 42.20, -35.91)
CIE-LCHlch(22.05, 55.41, 319.61°)
OKLaboklab(34.69% 0.1035 -0.1013)
OKLCHoklch(34.69% 0.145 315.6)
XYZxyz(6.6679, 3.5294, 14.2371)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55156B #2B6B15
analogous
#2A156B #55156B #6B1556
triadic
#55156B #6B5515 #156B55
tetradic
#55156B #6B2A15 #2B6B15 #15566B
square
#55156B #6B2A15 #2B6B15 #15566B
split-complementary
#55156B #566B15 #156B2A
monochromatic
#14051A #2C0B38 #55156B #7E1F9E #A629D1

Accessibility & contrast

On white

12.31
#55156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55156B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55156B#FFFFFF#000000##FFFFFF
##55156B1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#133669
Tritanopia (blue-blind)
#53283F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #55156b;
/* rgb */ color: rgb(85, 21, 107);
/* oklch */ color: oklch(34.7% 0.145 315.6);
Tailwind
colors: {
  custom: {
    50: '#885b96',
    500: '#55156b',
    950: '#000000',
  },
}
SCSS
$custom: #55156b;
$custom-light: #885b96;
$custom-dark: #000000;
JSON
{
  "hex": "#55156b",
  "rgb": {
    "r": 85,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 284.651,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.14477,
    "h": 315.6
  },
  "luminance": 0.03529
}

Semantic roles & 50–950 ramp

primary
#55156B
secondary
#55A23A
accent
#EA3E6A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55156B

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

Preview Lab → · Contrast checker → · Palette generator →

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