#59158F#59158F

#59158F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.3% C 0.181 H 303.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#59158F
RGBrgb(89, 21, 143)
HSLhsl(273, 74%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(37.8%, 85.3%, 0%, 43.9%)
CIE-LABlab(25.69, 51.06, -52.80)
CIE-LCHlch(25.69, 73.45, 314.04°)
OKLaboklab(38.3% 0.0999 -0.1508)
OKLCHoklch(38.3% 0.181 303.5)
XYZxyz(9.3447, 4.6434, 26.3852)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59158F #4B8F15
analogous
#1C158F #59158F #8F1588
triadic
#59158F #8F5915 #158F59
tetradic
#59158F #8F1C15 #4B8F15 #15888F
square
#59158F #8F1C15 #4B8F15 #15888F
split-complementary
#59158F #888F15 #158F1C
monochromatic
#170524 #380D5A #59158F #7A1DC4 #993CE2

Accessibility & contrast

On white

10.89
#59158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#59158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59158F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59158F#FFFFFF#000000##FFFFFF
##59158F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4E3854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59158f;
/* rgb */ color: rgb(89, 21, 143);
/* oklch */ color: oklch(38.3% 0.181 303.5);
Tailwind
colors: {
  custom: {
    50: '#8e5db1',
    500: '#59158f',
    950: '#000000',
  },
}
SCSS
$custom: #59158f;
$custom-light: #8e5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#59158f",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 273.443,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.18084,
    "h": 303.5
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#59158F
secondary
#78C23E
accent
#F13789
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59158F

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

Preview Lab → · Contrast checker → · Palette generator →

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