#55186C#55186C

#55186C is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.1% C 0.142 H 314.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#55186C
RGBrgb(85, 24, 108)
HSLhsl(284, 64%, 26%)
HSVhsv(284, 78%, 42%)
CMYKcmyk(21.3%, 77.8%, 0%, 57.6%)
CIE-LABlab(22.54, 41.24, -35.77)
CIE-LCHlch(22.54, 54.59, 319.06°)
OKLaboklab(35.06% 0.1003 -0.1009)
OKLCHoklch(35.06% 0.142 314.8)
XYZxyz(6.7793, 3.6675, 14.5352)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186C #2F6C18
analogous
#2B186C #55186C #6C1859
triadic
#55186C #6C5518 #186C55
tetradic
#55186C #6C2B18 #2F6C18 #18596C
square
#55186C #6C2B18 #2F6C18 #18596C
split-complementary
#55186C #596C18 #186C2B
monochromatic
#140619 #2E0D3A #55186C #7C239E #A42ED0

Accessibility & contrast

On white

12.11
#55186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55186C
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186C#FFFFFF#000000##FFFFFF
##55186C1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#14376A
Tritanopia (blue-blind)
#532A41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186c;
/* rgb */ color: rgb(85, 24, 108);
/* oklch */ color: oklch(35.1% 0.142 314.8);
Tailwind
colors: {
  custom: {
    50: '#885c97',
    500: '#55186c',
    950: '#000000',
  },
}
SCSS
$custom: #55186c;
$custom-light: #885c97;
$custom-dark: #000000;
JSON
{
  "hex": "#55186c",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 283.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35057,
    "c": 0.14226,
    "h": 314.8
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#55186C
secondary
#59A23E
accent
#E7416E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55186C

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

Preview Lab → · Contrast checker → · Palette generator →

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