#59157E#59157E

#59157E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.164 H 309.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#59157E
RGBrgb(89, 21, 126)
HSLhsl(279, 71%, 29%)
HSVhsv(279, 83%, 49%)
CMYKcmyk(29.4%, 83.3%, 0%, 50.6%)
CIE-LABlab(24.22, 47.17, -44.56)
CIE-LCHlch(24.22, 64.89, 316.63°)
OKLaboklab(36.81% 0.105 -0.1265)
OKLCHoklch(36.81% 0.164 309.7)
XYZxyz(8.1531, 4.1667, 20.1094)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59157E #3A7E15
analogous
#25157E #59157E #7E156F
triadic
#59157E #7E5915 #157E59
tetradic
#59157E #7E2515 #3A7E15 #156F7E
square
#59157E #7E2515 #3A7E15 #156F7E
split-complementary
#59157E #6F7E15 #157E25
monochromatic
#13041A #340C4A #59157E #7E1EB2 #A031DD

Accessibility & contrast

On white

11.45
#59157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#59157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59157E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59157E#FFFFFF#000000##FFFFFF
##59157E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#53304A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59157e;
/* rgb */ color: rgb(89, 21, 126);
/* oklch */ color: oklch(36.8% 0.164 309.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ca4',
    500: '#59157e',
    950: '#000000',
  },
}
SCSS
$custom: #59157e;
$custom-light: #8c5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#59157e",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 278.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.16442,
    "h": 309.7
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#59157E
secondary
#66B33C
accent
#EE3A79
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #59157E

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

Preview Lab → · Contrast checker → · Palette generator →

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