#55186E#55186E

#55186E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.144 H 313.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#55186E
RGBrgb(85, 24, 110)
HSLhsl(283, 64%, 26%)
HSVhsv(283, 78%, 43%)
CMYKcmyk(22.7%, 78.2%, 0%, 56.9%)
CIE-LABlab(22.69, 41.68, -36.82)
CIE-LCHlch(22.69, 55.61, 318.54°)
OKLaboklab(35.21% 0.1 -0.104)
OKLCHoklch(35.21% 0.144 313.9)
XYZxyz(6.8869, 3.7106, 15.1023)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186E #316E18
analogous
#2A186E #55186E #6E185C
triadic
#55186E #6E5518 #186E55
tetradic
#55186E #6E2A18 #316E18 #185C6E
square
#55186E #6E2A18 #316E18 #185C6E
split-complementary
#55186E #5C6E18 #186E2A
monochromatic
#130519 #2E0D3C #55186E #7C23A0 #A22FD2

Accessibility & contrast

On white

12.06
#55186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55186E
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186E#FFFFFF#000000##FFFFFF
##55186E1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#11386C
Tritanopia (blue-blind)
#532B42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186e;
/* rgb */ color: rgb(85, 24, 110);
/* oklch */ color: oklch(35.2% 0.144 313.9);
Tailwind
colors: {
  custom: {
    50: '#885c98',
    500: '#55186e',
    950: '#000000',
  },
}
SCSS
$custom: #55186e;
$custom-light: #885c98;
$custom-dark: #000000;
JSON
{
  "hex": "#55186e",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 282.558,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35211,
    "c": 0.14426,
    "h": 313.9
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#55186E
secondary
#5CA43E
accent
#E74171
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55186E

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

Preview Lab → · Contrast checker → · Palette generator →

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