#55186A#55186A

#55186A is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.140 H 315.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#55186A
RGBrgb(85, 24, 106)
HSLhsl(285, 63%, 25%)
HSVhsv(285, 77%, 42%)
CMYKcmyk(19.8%, 77.4%, 0%, 58.4%)
CIE-LABlab(22.39, 40.80, -34.71)
CIE-LCHlch(22.39, 53.56, 319.61°)
OKLaboklab(34.91% 0.1006 -0.0978)
OKLCHoklch(34.91% 0.14 315.8)
XYZxyz(6.6741, 3.6254, 13.9811)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186A #2D6A18
analogous
#2C186A #55186A #6A1856
triadic
#55186A #6A5518 #186A55
tetradic
#55186A #6A2C18 #2D6A18 #18566A
square
#55186A #6A2C18 #2D6A18 #18566A
split-complementary
#55186A #566A18 #186A2C
monochromatic
#140619 #2D0D38 #55186A #7D239C #A52FCE

Accessibility & contrast

On white

12.17
#55186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#55186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55186A
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186A#FFFFFF#000000##FFFFFF
##55186A1.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)
#00326C
Deuteranopia (green-blind)
#173768
Tritanopia (blue-blind)
#542940
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186a;
/* rgb */ color: rgb(85, 24, 106);
/* oklch */ color: oklch(34.9% 0.140 315.8);
Tailwind
colors: {
  custom: {
    50: '#885c95',
    500: '#55186a',
    950: '#000000',
  },
}
SCSS
$custom: #55186a;
$custom-light: #885c95;
$custom-dark: #000000;
JSON
{
  "hex": "#55186a",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 284.634,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34905,
    "c": 0.14026,
    "h": 315.8
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#55186A
secondary
#57A03E
accent
#E6426C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55186A

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

Preview Lab → · Contrast checker → · Palette generator →

#55186A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva