#59117E#59117E

#59117E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.168 H 310.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#59117E
RGBrgb(89, 17, 126)
HSLhsl(280, 76%, 28%)
HSVhsv(280, 87%, 49%)
CMYKcmyk(29.4%, 86.5%, 0%, 50.6%)
CIE-LABlab(23.77, 48.46, -45.28)
CIE-LCHlch(23.77, 66.32, 316.94°)
OKLaboklab(36.51% 0.108 -0.1286)
OKLCHoklch(36.51% 0.168 310)
XYZxyz(8.0854, 4.0313, 20.0868)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59117E #367E11
analogous
#22117E #59117E #7E116C
triadic
#59117E #7E5911 #117E59
tetradic
#59117E #7E2211 #367E11 #116C7E
square
#59117E #7E2211 #367E11 #116C7E
split-complementary
#59117E #6C7E11 #117E22
monochromatic
#13041B #330A48 #59117E #7F18B4 #A327E2

Accessibility & contrast

On white

11.63
#59117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#59117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59117E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59117E#FFFFFF#000000##FFFFFF
##59117E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#542F4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59117e;
/* rgb */ color: rgb(89, 17, 126);
/* oklch */ color: oklch(36.5% 0.168 310.0);
Tailwind
colors: {
  custom: {
    50: '#8d5ba4',
    500: '#59117e',
    950: '#000000',
  },
}
SCSS
$custom: #59117e;
$custom-light: #8d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#59117e",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 279.633,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36507,
    "c": 0.16794,
    "h": 310
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#59117E
secondary
#61B437
accent
#F33575
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59117E

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

Preview Lab → · Contrast checker → · Palette generator →

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