#59198E#59198E

#59198E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.176 H 303.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#59198E
RGBrgb(89, 25, 142)
HSLhsl(273, 70%, 33%)
HSVhsv(273, 82%, 56%)
CMYKcmyk(37.3%, 82.4%, 0%, 44.3%)
CIE-LABlab(26.08, 49.44, -51.56)
CIE-LCHlch(26.08, 71.44, 313.80°)
OKLaboklab(38.54% 0.0973 -0.1471)
OKLCHoklch(38.54% 0.176 303.5)
XYZxyz(9.3488, 4.7721, 26.0145)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59198E #4E8E19
analogous
#1F198E #59198E #8E1988
triadic
#59198E #8E5919 #198E59
tetradic
#59198E #8E1F19 #4E8E19 #19888E
square
#59198E #8E1F19 #4E8E19 #19888E
split-complementary
#59198E #888E19 #198E1F
monochromatic
#180726 #38105A #59198E #7A22C2 #9843DE

Accessibility & contrast

On white

10.74
#59198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59198E
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59198E#FFFFFF#000000##FFFFFF
##59198E1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59198e;
/* rgb */ color: rgb(89, 25, 142);
/* oklch */ color: oklch(38.5% 0.176 303.5);
Tailwind
colors: {
  custom: {
    50: '#8e5fb0',
    500: '#59198e',
    950: '#000000',
  },
}
SCSS
$custom: #59198e;
$custom-light: #8e5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#59198e",
  "rgb": {
    "r": 89,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 272.821,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.17638,
    "h": 303.5
  },
  "luminance": 0.04772
}

Semantic roles & 50–950 ramp

primary
#59198E
secondary
#7CBF44
accent
#ED3B8C
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #59198E

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

Preview Lab → · Contrast checker → · Palette generator →

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