#59158E#59158E

#59158E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.180 H 303.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#59158E
RGBrgb(89, 21, 142)
HSLhsl(274, 74%, 32%)
HSVhsv(274, 85%, 56%)
CMYKcmyk(37.3%, 85.2%, 0%, 44.3%)
CIE-LABlab(25.60, 50.82, -52.33)
CIE-LCHlch(25.60, 72.95, 314.16°)
OKLaboklab(38.21% 0.1002 -0.1494)
OKLCHoklch(38.21% 0.18 303.9)
XYZxyz(9.2693, 4.6132, 25.9880)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59158E #4A8E15
analogous
#1D158E #59158E #8E1587
triadic
#59158E #8E5915 #158E59
tetradic
#59158E #8E1D15 #4A8E15 #15878E
square
#59158E #8E1D15 #4A8E15 #15878E
split-complementary
#59158E #878E15 #158E1D
monochromatic
#160523 #380D59 #59158E #7A1DC3 #993BE2

Accessibility & contrast

On white

10.92
#59158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#59158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59158E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59158E#FFFFFF#000000##FFFFFF
##59158E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59158e;
/* rgb */ color: rgb(89, 21, 142);
/* oklch */ color: oklch(38.2% 0.180 303.9);
Tailwind
colors: {
  custom: {
    50: '#8e5db0',
    500: '#59158e',
    950: '#000000',
  },
}
SCSS
$custom: #59158e;
$custom-light: #8e5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#59158e",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 273.719,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38208,
    "c": 0.17987,
    "h": 303.9
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#59158E
secondary
#77C23D
accent
#F13788
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59158E

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

Preview Lab → · Contrast checker → · Palette generator →

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