#59117F#59117F

#59117F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.169 H 309.6°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#59117F
RGBrgb(89, 17, 127)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 87%, 50%)
CMYKcmyk(29.9%, 86.6%, 0%, 50.2%)
CIE-LABlab(23.86, 48.68, -45.77)
CIE-LCHlch(23.86, 66.82, 316.76°)
OKLaboklab(36.59% 0.1077 -0.1301)
OKLCHoklch(36.59% 0.169 309.6)
XYZxyz(8.1503, 4.0572, 20.4283)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59117F #377F11
analogous
#22117F #59117F #7F116E
triadic
#59117F #7F5911 #117F59
tetradic
#59117F #7F2211 #377F11 #116E7F
square
#59117F #7F2211 #377F11 #116E7F
split-complementary
#59117F #6E7F11 #117F22
monochromatic
#13041B #330A49 #59117F #7F18B5 #A228E2

Accessibility & contrast

On white

11.59
#59117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59117F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59117F#FFFFFF#000000##FFFFFF
##59117F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#532F4A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59117f;
/* rgb */ color: rgb(89, 17, 127);
/* oklch */ color: oklch(36.6% 0.169 309.6);
Tailwind
colors: {
  custom: {
    50: '#8d5ba5',
    500: '#59117f',
    950: '#000000',
  },
}
SCSS
$custom: #59117f;
$custom-light: #8d5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#59117f",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 279.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.16886,
    "h": 309.6
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#59117F
secondary
#62B537
accent
#F33577
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59117F

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

Preview Lab → · Contrast checker → · Palette generator →

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