#55186F#55186F

#55186F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.145 H 313.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#55186F
RGBrgb(85, 24, 111)
HSLhsl(282, 64%, 26%)
HSVhsv(282, 78%, 44%)
CMYKcmyk(23.4%, 78.4%, 0%, 56.5%)
CIE-LABlab(22.77, 41.90, -37.34)
CIE-LCHlch(22.77, 56.13, 318.29°)
OKLaboklab(35.29% 0.0998 -0.1055)
OKLCHoklch(35.29% 0.145 313.4)
XYZxyz(6.9417, 3.7325, 15.3906)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#55186F #326F18
analogous
#2A186F #55186F #6F185E
triadic
#55186F #6F5518 #186F55
tetradic
#55186F #6F2A18 #326F18 #185E6F
square
#55186F #6F2A18 #326F18 #185E6F
split-complementary
#55186F #5E6F18 #186F2A
monochromatic
#130519 #2E0D3D #55186F #7C23A1 #A12FD2

Accessibility & contrast

On white

12.02
#55186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#55186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #55186F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##55186F#FFFFFF#000000##FFFFFF
##55186F1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#10386D
Tritanopia (blue-blind)
#522C42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #55186f;
/* rgb */ color: rgb(85, 24, 111);
/* oklch */ color: oklch(35.3% 0.145 313.4);
Tailwind
colors: {
  custom: {
    50: '#885c99',
    500: '#55186f',
    950: '#000000',
  },
}
SCSS
$custom: #55186f;
$custom-light: #885c99;
$custom-dark: #000000;
JSON
{
  "hex": "#55186f",
  "rgb": {
    "r": 85,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 282.069,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35289,
    "c": 0.14525,
    "h": 313.4
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#55186F
secondary
#5DA53E
accent
#E74072
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #55186F

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

Preview Lab → · Contrast checker → · Palette generator →

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