#59188E#59188E

#59188E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.177 H 303.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#59188E
RGBrgb(89, 24, 142)
HSLhsl(273, 71%, 33%)
HSVhsv(273, 83%, 56%)
CMYKcmyk(37.3%, 83.1%, 0%, 44.3%)
CIE-LABlab(25.95, 49.80, -51.76)
CIE-LCHlch(25.95, 71.83, 313.90°)
OKLaboklab(38.45% 0.098 -0.1477)
OKLCHoklch(38.45% 0.177 303.6)
XYZxyz(9.3278, 4.7301, 26.0075)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59188E #4D8E18
analogous
#1E188E #59188E #8E1888
triadic
#59188E #8E5918 #188E59
tetradic
#59188E #8E1E18 #4D8E18 #18888E
square
#59188E #8E1E18 #4D8E18 #18888E
split-complementary
#59188E #888E18 #188E1E
monochromatic
#170625 #380F5A #59188E #7A21C2 #9841DF

Accessibility & contrast

On white

10.79
#59188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#59188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59188E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59188E#FFFFFF#000000##FFFFFF
##59188E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4E3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #59188e;
/* rgb */ color: rgb(89, 24, 142);
/* oklch */ color: oklch(38.5% 0.177 303.6);
Tailwind
colors: {
  custom: {
    50: '#8e5eb0',
    500: '#59188e',
    950: '#000000',
  },
}
SCSS
$custom: #59188e;
$custom-light: #8e5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#59188e",
  "rgb": {
    "r": 89,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 273.051,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.17729,
    "h": 303.6
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#59188E
secondary
#7BC042
accent
#EE3A8B
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59188E

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

Preview Lab → · Contrast checker → · Palette generator →

#59188E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva