#59178D#59178D

#59178D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.177 H 304.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#59178D
RGBrgb(89, 23, 141)
HSLhsl(274, 72%, 32%)
HSVhsv(274, 84%, 55%)
CMYKcmyk(36.9%, 83.7%, 0%, 44.7%)
CIE-LABlab(25.74, 49.92, -51.48)
CIE-LCHlch(25.74, 71.71, 314.12°)
OKLaboklab(38.28% 0.0991 -0.1469)
OKLCHoklch(38.28% 0.177 304)
XYZxyz(9.2328, 4.6597, 25.6072)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59178D #4B8D17
analogous
#1E178D #59178D #8D1786
triadic
#59178D #8D5917 #178D59
tetradic
#59178D #8D1E17 #4B8D17 #17868D
square
#59178D #8D1E17 #4B8D17 #17868D
split-complementary
#59178D #868D17 #178D1E
monochromatic
#170624 #380E58 #59178D #7A20C2 #993FE0

Accessibility & contrast

On white

10.87
#59178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59178D
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59178D#FFFFFF#000000##FFFFFF
##59178D1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4E3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59178d;
/* rgb */ color: rgb(89, 23, 141);
/* oklch */ color: oklch(38.3% 0.177 304.0);
Tailwind
colors: {
  custom: {
    50: '#8e5eaf',
    500: '#59178d',
    950: '#000000',
  },
}
SCSS
$custom: #59178d;
$custom-light: #8e5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#59178d",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 273.559,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.17719,
    "h": 304
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#59178D
secondary
#78C040
accent
#EF3989
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59178D

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

Preview Lab → · Contrast checker → · Palette generator →

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