#59178C#59178C

#59178C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.176 H 304.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#59178C
RGBrgb(89, 23, 140)
HSLhsl(274, 72%, 32%)
HSVhsv(274, 84%, 55%)
CMYKcmyk(36.4%, 83.6%, 0%, 45.1%)
CIE-LABlab(25.65, 49.69, -51.00)
CIE-LCHlch(25.65, 71.21, 314.25°)
OKLaboklab(38.19% 0.0994 -0.1455)
OKLCHoklch(38.19% 0.176 304.3)
XYZxyz(9.1587, 4.6301, 25.2171)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59178C #4A8C17
analogous
#1F178C #59178C #8C1785
triadic
#59178C #8C5917 #178C59
tetradic
#59178C #8C1F17 #4A8C17 #17858C
square
#59178C #8C1F17 #4A8C17 #17858C
split-complementary
#59178C #858C17 #178C1F
monochromatic
#160623 #380E57 #59178C #7A20C1 #993EDF

Accessibility & contrast

On white

10.90
#59178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59178C
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59178C#FFFFFF#000000##FFFFFF
##59178C1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#4F3753
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59178c;
/* rgb */ color: rgb(89, 23, 140);
/* oklch */ color: oklch(38.2% 0.176 304.3);
Tailwind
colors: {
  custom: {
    50: '#8e5eaf',
    500: '#59178c',
    950: '#000000',
  },
}
SCSS
$custom: #59178c;
$custom-light: #8e5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#59178c",
  "rgb": {
    "r": 89,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 273.846,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.17621,
    "h": 304.3
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#59178C
secondary
#77BF3F
accent
#EF3988
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59178C

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

Preview Lab → · Contrast checker → · Palette generator →

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