#59158D#59158D

#59158D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.179 H 304.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#59158D
RGBrgb(89, 21, 141)
HSLhsl(274, 74%, 32%)
HSVhsv(274, 85%, 55%)
CMYKcmyk(36.9%, 85.1%, 0%, 44.7%)
CIE-LABlab(25.51, 50.59, -51.86)
CIE-LCHlch(25.51, 72.45, 314.29°)
OKLaboklab(38.12% 0.1005 -0.148)
OKLCHoklch(38.12% 0.179 304.2)
XYZxyz(9.1946, 4.5833, 25.5944)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59158D #498D15
analogous
#1D158D #59158D #8D1585
triadic
#59158D #8D5915 #158D59
tetradic
#59158D #8D1D15 #498D15 #15858D
square
#59158D #8D1D15 #498D15 #15858D
split-complementary
#59158D #858D15 #158D1D
monochromatic
#160522 #370D58 #59158D #7B1DC2 #993BE2

Accessibility & contrast

On white

10.96
#59158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59158D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59158D#FFFFFF#000000##FFFFFF
##59158D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4F3753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59158d;
/* rgb */ color: rgb(89, 21, 141);
/* oklch */ color: oklch(38.1% 0.179 304.2);
Tailwind
colors: {
  custom: {
    50: '#8e5daf',
    500: '#59158d',
    950: '#000000',
  },
}
SCSS
$custom: #59158d;
$custom-light: #8e5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#59158d",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 274,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38118,
    "c": 0.1789,
    "h": 304.2
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#59158D
secondary
#76C13D
accent
#F13788
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59158D

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

Preview Lab → · Contrast checker → · Palette generator →

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