#59128C#59128C

#59128C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.8% C 0.180 H 304.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#59128C
RGBrgb(89, 18, 140)
HSLhsl(275, 77%, 31%)
HSVhsv(275, 87%, 55%)
CMYKcmyk(36.4%, 87.1%, 0%, 45.1%)
CIE-LABlab(25.11, 51.29, -51.90)
CIE-LCHlch(25.11, 72.97, 314.66°)
OKLaboklab(37.81% 0.1029 -0.1481)
OKLCHoklch(37.81% 0.18 304.8)
XYZxyz(9.0687, 4.4500, 25.1870)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59128C #458C12
analogous
#1C128C #59128C #8C1282
triadic
#59128C #8C5912 #128C59
tetradic
#59128C #8C1C12 #458C12 #12828C
square
#59128C #8C1C12 #458C12 #12828C
split-complementary
#59128C #828C12 #128C1C
monochromatic
#140420 #370B56 #59128C #7B19C2 #9B34E5

Accessibility & contrast

On white

11.11
#59128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#59128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59128C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59128C#FFFFFF#000000##FFFFFF
##59128C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4F3652
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59128c;
/* rgb */ color: rgb(89, 18, 140);
/* oklch */ color: oklch(37.8% 0.180 304.8);
Tailwind
colors: {
  custom: {
    50: '#8e5caf',
    500: '#59128c',
    950: '#000000',
  },
}
SCSS
$custom: #59128c;
$custom-light: #8e5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#59128c",
  "rgb": {
    "r": 89,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 274.918,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37809,
    "c": 0.18029,
    "h": 304.8
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#59128C
secondary
#72C039
accent
#F43484
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59128C

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

Preview Lab → · Contrast checker → · Palette generator →

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