#59177D#59177D

#59177D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.162 H 309.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#59177D
RGBrgb(89, 23, 125)
HSLhsl(279, 69%, 29%)
HSVhsv(279, 82%, 49%)
CMYKcmyk(28.8%, 81.6%, 0%, 51%)
CIE-LABlab(24.38, 46.24, -43.66)
CIE-LCHlch(24.38, 63.59, 316.64°)
OKLaboklab(36.9% 0.1036 -0.1239)
OKLCHoklch(36.9% 0.162 309.9)
XYZxyz(8.1272, 4.2175, 19.7840)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59177D #3B7D17
analogous
#26177D #59177D #7D176E
triadic
#59177D #7D5917 #177D59
tetradic
#59177D #7D2617 #3B7D17 #176E7D
square
#59177D #7D2617 #3B7D17 #176E7D
split-complementary
#59177D #6E7D17 #177D26
monochromatic
#12051A #340D49 #59177D #7E21B1 #9F35DA

Accessibility & contrast

On white

11.39
#59177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#59177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59177D
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59177D#FFFFFF#000000##FFFFFF
##59177D1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#54314A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59177d;
/* rgb */ color: rgb(89, 23, 125);
/* oklch */ color: oklch(36.9% 0.162 309.9);
Tailwind
colors: {
  custom: {
    50: '#8c5da3',
    500: '#59177d',
    950: '#000000',
  },
}
SCSS
$custom: #59177d;
$custom-light: #8c5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#59177d",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 278.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36902,
    "c": 0.1615,
    "h": 309.9
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#59177D
secondary
#67B23E
accent
#EC3C7A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59177D

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

Preview Lab → · Contrast checker → · Palette generator →

#59177D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva