#59218E#59218E

#59218E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.168 H 302.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#59218E
RGBrgb(89, 33, 142)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 77%, 56%)
CMYKcmyk(37.3%, 76.8%, 0%, 44.3%)
CIE-LABlab(27.20, 46.21, -49.73)
CIE-LCHlch(27.20, 67.88, 312.90°)
OKLaboklab(39.32% 0.0904 -0.1418)
OKLCHoklch(39.32% 0.168 302.5)
XYZxyz(9.5450, 5.1645, 26.0799)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218E #568E21
analogous
#23218E #59218E #8E218D
triadic
#59218E #8E5921 #218E59
tetradic
#59218E #8E2321 #568E21 #218D8E
square
#59218E #8E2321 #568E21 #218D8E
split-complementary
#59218E #8D8E21 #218E23
monochromatic
#1B0A2B #3A155C #59218E #782DC0 #9752D7

Accessibility & contrast

On white

10.33
#59218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#59218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59218E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218E#FFFFFF#000000##FFFFFF
##59218E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#4E3D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59218e;
/* rgb */ color: rgb(89, 33, 142);
/* oklch */ color: oklch(39.3% 0.168 302.5);
Tailwind
colors: {
  custom: {
    50: '#8d62b0',
    500: '#59218e',
    950: '#000000',
  },
}
SCSS
$custom: #59218e;
$custom-light: #8d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#59218e",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 270.826,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.16817,
    "h": 302.5
  },
  "luminance": 0.05165
}

Semantic roles & 50–950 ramp

primary
#59218E
secondary
#84BA50
accent
#E54292
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #59218E

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

Preview Lab → · Contrast checker → · Palette generator →

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