#59126F#59126F

#59126F is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.153 H 316.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#59126F
RGBrgb(89, 18, 111)
HSLhsl(286, 72%, 25%)
HSVhsv(286, 84%, 44%)
CMYKcmyk(19.8%, 83.8%, 0%, 56.5%)
CIE-LABlab(22.67, 44.93, -37.47)
CIE-LCHlch(22.67, 58.50, 320.17°)
OKLaboklab(35.35% 0.1109 -0.1057)
OKLCHoklch(35.35% 0.153 316.4)
XYZxyz(7.2049, 3.7045, 15.3714)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59126F #286F12
analogous
#2A126F #59126F #6F1257
triadic
#59126F #6F5912 #126F59
tetradic
#59126F #6F2A12 #286F12 #12576F
square
#59126F #6F2A12 #286F12 #12576F
split-complementary
#59126F #576F12 #126F2A
monochromatic
#15041A #2F093A #59126F #831BA4 #AD23D8

Accessibility & contrast

On white

12.06
#59126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#59126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59126F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59126F#FFFFFF#000000##FFFFFF
##59126F1.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)
#003271
Deuteranopia (green-blind)
#11386D
Tritanopia (blue-blind)
#582841
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #59126f;
/* rgb */ color: rgb(89, 18, 111);
/* oklch */ color: oklch(35.4% 0.153 316.4);
Tailwind
colors: {
  custom: {
    50: '#8c5a99',
    500: '#59126f',
    950: '#000000',
  },
}
SCSS
$custom: #59126f;
$custom-light: #8c5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#59126f",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 285.806,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35355,
    "c": 0.15318,
    "h": 316.4
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#59126F
secondary
#51A637
accent
#EF3964
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #59126F

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

Preview Lab → · Contrast checker → · Palette generator →

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