#59177E#59177E

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

Color values

HEX#59177E
RGBrgb(89, 23, 126)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(29.4%, 81.7%, 0%, 50.6%)
CIE-LABlab(24.46, 46.46, -44.16)
CIE-LCHlch(24.46, 64.10, 316.45°)
OKLaboklab(36.99% 0.1033 -0.1254)
OKLCHoklch(36.99% 0.162 309.5)
XYZxyz(8.1914, 4.2432, 20.1221)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59177E #3C7E17
analogous
#26177E #59177E #7E1770
triadic
#59177E #7E5917 #177E59
tetradic
#59177E #7E2617 #3C7E17 #17707E
square
#59177E #7E2617 #3C7E17 #17707E
split-complementary
#59177E #707E17 #177E26
monochromatic
#12051A #340E4A #59177E #7E20B2 #9F35DA

Accessibility & contrast

On white

11.36
#59177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#59177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59177E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59177E#FFFFFF#000000##FFFFFF
##59177E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#53314B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59177e;
/* rgb */ color: rgb(89, 23, 126);
/* oklch */ color: oklch(37.0% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#8c5da4',
    500: '#59177e',
    950: '#000000',
  },
}
SCSS
$custom: #59177e;
$custom-light: #8c5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#59177e",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 278.447,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.16248,
    "h": 309.5
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#59177E
secondary
#68B33E
accent
#EC3C7B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #59177E

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

Preview Lab → · Contrast checker → · Palette generator →

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