#59157C#59157C

#59157C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.163 H 310.5°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#59157C
RGBrgb(89, 21, 124)
HSLhsl(280, 71%, 28%)
HSVhsv(280, 83%, 49%)
CMYKcmyk(28.2%, 83.1%, 0%, 51.4%)
CIE-LABlab(24.05, 46.73, -43.56)
CIE-LCHlch(24.05, 63.88, 317.01°)
OKLaboklab(36.65% 0.1055 -0.1236)
OKLCHoklch(36.65% 0.163 310.5)
XYZxyz(8.0254, 4.1156, 19.4365)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59157C #387C15
analogous
#26157C #59157C #7C156B
triadic
#59157C #7C5915 #157C59
tetradic
#59157C #7C2615 #387C15 #156B7C
square
#59157C #7C2615 #387C15 #156B7C
split-complementary
#59157C #6B7C15 #157C26
monochromatic
#13041A #330C48 #59157C #7F1EB0 #A130DC

Accessibility & contrast

On white

11.52
#59157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#59157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59157C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59157C#FFFFFF#000000##FFFFFF
##59157C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#542F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #59157c;
/* rgb */ color: rgb(89, 21, 124);
/* oklch */ color: oklch(36.6% 0.163 310.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ca3',
    500: '#59157c',
    950: '#000000',
  },
}
SCSS
$custom: #59157c;
$custom-light: #8c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#59157c",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 279.612,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36647,
    "c": 0.1625,
    "h": 310.5
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#59157C
secondary
#64B13C
accent
#EE3A77
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #59157C

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

Preview Lab → · Contrast checker → · Palette generator →

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