#55186B#55186B

#55186B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.141 H 315.3°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#55186B
RGBrgb(85, 24, 107)
HSLhsl(284, 63%, 26%)
HSVhsv(284, 78%, 42%)
CMYKcmyk(20.6%, 77.6%, 0%, 58%)
CIE-LABlab(22.47, 41.01, -35.24)
CIE-LCHlch(22.47, 54.07, 319.33°)
OKLaboklab(34.98% 0.1005 -0.0993)
OKLCHoklch(34.98% 0.141 315.3)
XYZxyz(6.7264, 3.6464, 14.2566)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186B #2E6B18
analogous
#2B186B #55186B #6B1857
triadic
#55186B #6B5518 #186B55
tetradic
#55186B #6B2B18 #2E6B18 #18576B
square
#55186B #6B2B18 #2E6B18 #18576B
split-complementary
#55186B #576B18 #186B2B
monochromatic
#140619 #2D0D39 #55186B #7D239D #A42ECF

Accessibility & contrast

On white

12.14
#55186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #55186B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186B#FFFFFF#000000##FFFFFF
##55186B1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#153769
Tritanopia (blue-blind)
#532A40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186b;
/* rgb */ color: rgb(85, 24, 107);
/* oklch */ color: oklch(35.0% 0.141 315.3);
Tailwind
colors: {
  custom: {
    50: '#885c96',
    500: '#55186b',
    950: '#000000',
  },
}
SCSS
$custom: #55186b;
$custom-light: #885c96;
$custom-dark: #000000;
JSON
{
  "hex": "#55186b",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 284.096,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3498,
    "c": 0.14126,
    "h": 315.3
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#55186B
secondary
#58A13E
accent
#E6416D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #55186B

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

Preview Lab → · Contrast checker → · Palette generator →

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