#59178F#59178F

#59178F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.179 H 303.3°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#59178F
RGBrgb(89, 23, 143)
HSLhsl(273, 72%, 33%)
HSVhsv(273, 84%, 56%)
CMYKcmyk(37.8%, 83.9%, 0%, 43.9%)
CIE-LABlab(25.92, 50.39, -52.43)
CIE-LCHlch(25.92, 72.72, 313.86°)
OKLaboklab(38.46% 0.0985 -0.1497)
OKLCHoklch(38.46% 0.179 303.3)
XYZxyz(9.3830, 4.7198, 26.3980)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59178F #4D8F17
analogous
#1D178F #59178F #8F1789
triadic
#59178F #8F5917 #178F59
tetradic
#59178F #8F1D17 #4D8F17 #17898F
square
#59178F #8F1D17 #4D8F17 #17898F
split-complementary
#59178F #898F17 #178F1D
monochromatic
#170626 #380F5A #59178F #7A1FC4 #9840E0

Accessibility & contrast

On white

10.80
#59178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59178F
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59178F#FFFFFF#000000##FFFFFF
##59178F1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4E3955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59178f;
/* rgb */ color: rgb(89, 23, 143);
/* oklch */ color: oklch(38.5% 0.179 303.3);
Tailwind
colors: {
  custom: {
    50: '#8e5eb1',
    500: '#59178f',
    950: '#000000',
  },
}
SCSS
$custom: #59178f;
$custom-light: #8e5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#59178f",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 273,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38456,
    "c": 0.17917,
    "h": 303.3
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#59178F
secondary
#7BC141
accent
#EF398B
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59178F

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

Preview Lab → · Contrast checker → · Palette generator →

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