#59157F#59157F

#59157F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.165 H 309.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#59157F
RGBrgb(89, 21, 127)
HSLhsl(278, 72%, 29%)
HSVhsv(278, 83%, 50%)
CMYKcmyk(29.9%, 83.5%, 0%, 50.2%)
CIE-LABlab(24.30, 47.40, -45.06)
CIE-LCHlch(24.30, 65.40, 316.45°)
OKLaboklab(36.9% 0.1047 -0.128)
OKLCHoklch(36.9% 0.165 309.3)
XYZxyz(8.2180, 4.1926, 20.4509)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59157F #3B7F15
analogous
#24157F #59157F #7F1570
triadic
#59157F #7F5915 #157F59
tetradic
#59157F #7F2415 #3B7F15 #15707F
square
#59157F #7F2415 #3B7F15 #15707F
split-complementary
#59157F #707F15 #157F24
monochromatic
#12041A #340C4A #59157F #7E1EB4 #9F31DD

Accessibility & contrast

On white

11.42
#59157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#59157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59157F
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59157F#FFFFFF#000000##FFFFFF
##59157F1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#53314B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #59157f;
/* rgb */ color: rgb(89, 21, 127);
/* oklch */ color: oklch(36.9% 0.165 309.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ca5',
    500: '#59157f',
    950: '#000000',
  },
}
SCSS
$custom: #59157f;
$custom-light: #8c5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#59157f",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 278.491,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.16539,
    "h": 309.3
  },
  "luminance": 0.04192
}

Semantic roles & 50–950 ramp

primary
#59157F
secondary
#67B43C
accent
#EE397A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #59157F

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

Preview Lab → · Contrast checker → · Palette generator →

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