#59186B#59186B

#59186B is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.143 H 317.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#59186B
RGBrgb(89, 24, 107)
HSLhsl(287, 63%, 26%)
HSVhsv(287, 78%, 42%)
CMYKcmyk(16.8%, 77.6%, 0%, 58%)
CIE-LABlab(23.13, 41.90, -34.13)
CIE-LCHlch(23.13, 54.04, 320.84°)
OKLaboklab(35.59% 0.1059 -0.0959)
OKLCHoklch(35.59% 0.143 317.8)
XYZxyz(7.0999, 3.8390, 14.2741)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59186B #2A6B18
analogous
#2F186B #59186B #6B1853
triadic
#59186B #6B5918 #186B59
tetradic
#59186B #6B2F18 #2A6B18 #18536B
square
#59186B #6B2F18 #2A6B18 #18536B
split-complementary
#59186B #536B18 #186B2F
monochromatic
#150619 #2F0D39 #59186B #83239D #AC2ECF

Accessibility & contrast

On white

11.88
#59186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#59186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59186B
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59186B#FFFFFF#000000##FFFFFF
##59186B1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#1B3969
Tritanopia (blue-blind)
#582940
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #59186b;
/* rgb */ color: rgb(89, 24, 107);
/* oklch */ color: oklch(35.6% 0.143 317.8);
Tailwind
colors: {
  custom: {
    50: '#8b5c96',
    500: '#59186b',
    950: '#000000',
  },
}
SCSS
$custom: #59186b;
$custom-light: #8b5c96;
$custom-dark: #000000;
JSON
{
  "hex": "#59186b",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 286.988,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35587,
    "c": 0.1429,
    "h": 317.8
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#59186B
secondary
#53A13E
accent
#E64165
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #59186B

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

Preview Lab → · Contrast checker → · Palette generator →

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