#59138C#59138C

#59138C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.180 H 304.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#59138C
RGBrgb(89, 19, 140)
HSLhsl(275, 76%, 31%)
HSVhsv(275, 86%, 55%)
CMYKcmyk(36.4%, 86.4%, 0%, 45.1%)
CIE-LABlab(25.21, 50.99, -51.73)
CIE-LCHlch(25.21, 72.64, 314.59°)
OKLaboklab(37.88% 0.1022 -0.1476)
OKLCHoklch(37.88% 0.18 304.7)
XYZxyz(9.0852, 4.4831, 25.1925)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59138C #468C13
analogous
#1C138C #59138C #8C1382
triadic
#59138C #8C5913 #138C59
tetradic
#59138C #8C1C13 #468C13 #13828C
square
#59138C #8C1C13 #468C13 #13828C
split-complementary
#59138C #828C13 #138C1C
monochromatic
#140420 #370C56 #59138C #7B1AC2 #9A36E4

Accessibility & contrast

On white

11.07
#59138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#59138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59138C
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59138C#FFFFFF#000000##FFFFFF
##59138C1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59138c;
/* rgb */ color: rgb(89, 19, 140);
/* oklch */ color: oklch(37.9% 0.180 304.7);
Tailwind
colors: {
  custom: {
    50: '#8e5caf',
    500: '#59138c',
    950: '#000000',
  },
}
SCSS
$custom: #59138c;
$custom-light: #8e5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#59138c",
  "rgb": {
    "r": 89,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 274.711,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3788,
    "c": 0.17953,
    "h": 304.7
  },
  "luminance": 0.04483
}

Semantic roles & 50–950 ramp

primary
#59138C
secondary
#73C03B
accent
#F33585
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #59138C

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

Preview Lab → · Contrast checker → · Palette generator →

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