#59158A#59158A

#59158A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.176 H 305.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#59158A
RGBrgb(89, 21, 138)
HSLhsl(275, 74%, 31%)
HSVhsv(275, 85%, 54%)
CMYKcmyk(35.5%, 84.8%, 0%, 45.9%)
CIE-LABlab(25.25, 49.90, -50.43)
CIE-LCHlch(25.25, 70.94, 314.70°)
OKLaboklab(37.85% 0.1015 -0.1438)
OKLCHoklch(37.85% 0.176 305.2)
XYZxyz(8.9744, 4.4952, 24.4347)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59158A #468A15
analogous
#1E158A #59158A #8A1580
triadic
#59158A #8A5915 #158A59
tetradic
#59158A #8A1E15 #468A15 #15808A
square
#59158A #8A1E15 #468A15 #15808A
split-complementary
#59158A #808A15 #158A1E
monochromatic
#140520 #370D55 #59158A #7B1DBF #9A39E1

Accessibility & contrast

On white

11.06
#59158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#59158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59158A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59158A#FFFFFF#000000##FFFFFF
##59158A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#503651
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59158a;
/* rgb */ color: rgb(89, 21, 138);
/* oklch */ color: oklch(37.9% 0.176 305.2);
Tailwind
colors: {
  custom: {
    50: '#8d5dad',
    500: '#59158a',
    950: '#000000',
  },
}
SCSS
$custom: #59158a;
$custom-light: #8d5dad;
$custom-dark: #000000;
JSON
{
  "hex": "#59158a",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 274.872,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3785,
    "c": 0.17599,
    "h": 305.2
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#59158A
secondary
#73BE3D
accent
#F03885
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59158A

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

Preview Lab → · Contrast checker → · Palette generator →

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