#59118C#59118C

#59118C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.181 H 304.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#59118C
RGBrgb(89, 17, 140)
HSLhsl(275, 78%, 31%)
HSVhsv(275, 88%, 55%)
CMYKcmyk(36.4%, 87.9%, 0%, 45.1%)
CIE-LABlab(25.01, 51.58, -52.06)
CIE-LCHlch(25.01, 73.29, 314.74°)
OKLaboklab(37.74% 0.1035 -0.1485)
OKLCHoklch(37.74% 0.181 304.9)
XYZxyz(9.0528, 4.4182, 25.1817)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59118C #448C11
analogous
#1B118C #59118C #8C1181
triadic
#59118C #8C5911 #118C59
tetradic
#59118C #8C1B11 #448C11 #11818C
square
#59118C #8C1B11 #448C11 #11818C
split-complementary
#59118C #818C11 #118C1B
monochromatic
#14041F #360A55 #59118C #7C18C3 #9B31E6

Accessibility & contrast

On white

11.15
#59118C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#59118C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59118C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59118C#FFFFFF#000000##FFFFFF
##59118C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4F3552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #59118c;
/* rgb */ color: rgb(89, 17, 140);
/* oklch */ color: oklch(37.7% 0.181 304.9);
Tailwind
colors: {
  custom: {
    50: '#8e5caf',
    500: '#59118c',
    950: '#000000',
  },
}
SCSS
$custom: #59118c;
$custom-light: #8e5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#59118c",
  "rgb": {
    "r": 89,
    "g": 17,
    "b": 140
  },
  "hsl": {
    "h": 275.122,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37742,
    "c": 0.18103,
    "h": 304.9
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#59118C
secondary
#71C138
accent
#F53383
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #59118C

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

Preview Lab → · Contrast checker → · Palette generator →

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