#59178E#59178E

#59178E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.178 H 303.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#59178E
RGBrgb(89, 23, 142)
HSLhsl(273, 72%, 32%)
HSVhsv(273, 84%, 56%)
CMYKcmyk(37.3%, 83.8%, 0%, 44.3%)
CIE-LABlab(25.83, 50.16, -51.96)
CIE-LCHlch(25.83, 72.22, 313.99°)
OKLaboklab(38.37% 0.0988 -0.1483)
OKLCHoklch(38.37% 0.178 303.7)
XYZxyz(9.3076, 4.6896, 26.0008)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59178E #4C8E17
analogous
#1D178E #59178E #8E1788
triadic
#59178E #8E5917 #178E59
tetradic
#59178E #8E1D17 #4C8E17 #17888E
square
#59178E #8E1D17 #4C8E17 #17888E
split-complementary
#59178E #888E17 #178E1D
monochromatic
#170625 #380E59 #59178E #7A20C3 #983FE0

Accessibility & contrast

On white

10.84
#59178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#59178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59178E
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59178E#FFFFFF#000000##FFFFFF
##59178E1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4E3854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59178e;
/* rgb */ color: rgb(89, 23, 142);
/* oklch */ color: oklch(38.4% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#8e5eb0',
    500: '#59178e',
    950: '#000000',
  },
}
SCSS
$custom: #59178e;
$custom-light: #8e5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#59178e",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 273.277,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.17818,
    "h": 303.7
  },
  "luminance": 0.0469
}

Semantic roles & 50–950 ramp

primary
#59178E
secondary
#79C040
accent
#EF398A
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59178E

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

Preview Lab → · Contrast checker → · Palette generator →

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