#59126E#59126E

#59126E is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.152 H 316.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#59126E
RGBrgb(89, 18, 110)
HSLhsl(286, 72%, 25%)
HSVhsv(286, 84%, 43%)
CMYKcmyk(19.1%, 83.6%, 0%, 56.9%)
CIE-LABlab(22.59, 44.72, -36.94)
CIE-LCHlch(22.59, 58.01, 320.44°)
OKLaboklab(35.28% 0.1111 -0.1041)
OKLCHoklch(35.28% 0.152 316.8)
XYZxyz(7.1502, 3.6826, 15.0830)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59126E #276E12
analogous
#2B126E #59126E #6E1255
triadic
#59126E #6E5912 #126E59
tetradic
#59126E #6E2B12 #276E12 #12556E
square
#59126E #6E2B12 #276E12 #12556E
split-complementary
#59126E #556E12 #126E2B
monochromatic
#15041A #2E0939 #59126E #841BA3 #AE23D7

Accessibility & contrast

On white

12.09
#59126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59126E
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59126E#FFFFFF#000000##FFFFFF
##59126E1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#13386C
Tritanopia (blue-blind)
#582840
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #59126e;
/* rgb */ color: rgb(89, 18, 110);
/* oklch */ color: oklch(35.3% 0.152 316.8);
Tailwind
colors: {
  custom: {
    50: '#8b5a98',
    500: '#59126e',
    950: '#000000',
  },
}
SCSS
$custom: #59126e;
$custom-light: #8b5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#59126e",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 286.304,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35277,
    "c": 0.15226,
    "h": 316.8
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#59126E
secondary
#50A537
accent
#EF3963
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #59126E

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

Preview Lab → · Contrast checker → · Palette generator →

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