#55186D#55186D

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

Color values

HEX#55186D
RGBrgb(85, 24, 109)
HSLhsl(283, 64%, 26%)
HSVhsv(283, 78%, 43%)
CMYKcmyk(22%, 78%, 0%, 57.3%)
CIE-LABlab(22.62, 41.46, -36.29)
CIE-LCHlch(22.62, 55.10, 318.80°)
OKLaboklab(35.13% 0.1002 -0.1024)
OKLCHoklch(35.13% 0.143 314.4)
XYZxyz(6.8328, 3.6889, 14.8171)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186D #306D18
analogous
#2A186D #55186D #6D185A
triadic
#55186D #6D5518 #186D55
tetradic
#55186D #6D2A18 #306D18 #185A6D
square
#55186D #6D2A18 #306D18 #185A6D
split-complementary
#55186D #5A6D18 #186D2A
monochromatic
#140619 #2E0D3B #55186D #7C239F #A32ED1

Accessibility & contrast

On white

12.08
#55186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#55186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55186D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186D#FFFFFF#000000##FFFFFF
##55186D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#13376B
Tritanopia (blue-blind)
#532B41
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186d;
/* rgb */ color: rgb(85, 24, 109);
/* oklch */ color: oklch(35.1% 0.143 314.4);
Tailwind
colors: {
  custom: {
    50: '#885c97',
    500: '#55186d',
    950: '#000000',
  },
}
SCSS
$custom: #55186d;
$custom-light: #885c97;
$custom-dark: #000000;
JSON
{
  "hex": "#55186d",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 283.059,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35133,
    "c": 0.14325,
    "h": 314.4
  },
  "luminance": 0.03689
}

Semantic roles & 50–950 ramp

primary
#55186D
secondary
#5BA33E
accent
#E74170
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55186D

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

Preview Lab → · Contrast checker → · Palette generator →

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