#59158C#59158C

#59158C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.178 H 304.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#59158C
RGBrgb(89, 21, 140)
HSLhsl(274, 74%, 32%)
HSVhsv(274, 85%, 55%)
CMYKcmyk(36.4%, 85%, 0%, 45.1%)
CIE-LABlab(25.42, 50.36, -51.38)
CIE-LCHlch(25.42, 71.95, 314.42°)
OKLaboklab(38.03% 0.1009 -0.1466)
OKLCHoklch(38.03% 0.178 304.5)
XYZxyz(9.1205, 4.5537, 25.2043)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59158C #488C15
analogous
#1E158C #59158C #8C1584
triadic
#59158C #8C5915 #158C59
tetradic
#59158C #8C1E15 #488C15 #15848C
square
#59158C #8C1E15 #488C15 #15848C
split-complementary
#59158C #848C15 #158C1E
monochromatic
#150522 #370D57 #59158C #7B1DC1 #9A3AE1

Accessibility & contrast

On white

10.99
#59158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#59158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59158C
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59158C#FFFFFF#000000##FFFFFF
##59158C1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#4F3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #59158c;
/* rgb */ color: rgb(89, 21, 140);
/* oklch */ color: oklch(38.0% 0.178 304.5);
Tailwind
colors: {
  custom: {
    50: '#8e5daf',
    500: '#59158c',
    950: '#000000',
  },
}
SCSS
$custom: #59158c;
$custom-light: #8e5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#59158c",
  "rgb": {
    "r": 89,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 274.286,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38028,
    "c": 0.17793,
    "h": 304.5
  },
  "luminance": 0.04554
}

Semantic roles & 50–950 ramp

primary
#59158C
secondary
#75C03D
accent
#F13787
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59158C

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

Preview Lab → · Contrast checker → · Palette generator →

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