#59218D#59218D

#59218D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 302.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#59218D
RGBrgb(89, 33, 141)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 77%, 55%)
CMYKcmyk(36.9%, 76.6%, 0%, 44.7%)
CIE-LABlab(27.11, 45.96, -49.24)
CIE-LCHlch(27.11, 67.36, 313.02°)
OKLaboklab(39.24% 0.0906 -0.1404)
OKLCHoklch(39.24% 0.167 302.8)
XYZxyz(9.4703, 5.1346, 25.6863)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218D #558D21
analogous
#23218D #59218D #8D218B
triadic
#59218D #8D5921 #218D59
tetradic
#59218D #8D2321 #558D21 #218B8D
square
#59218D #8D2321 #558D21 #218B8D
split-complementary
#59218D #8B8D21 #218D23
monochromatic
#1A0A2A #3A155B #59218D #782DBF #9752D6

Accessibility & contrast

On white

10.36
#59218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59218D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218D#FFFFFF#000000##FFFFFF
##59218D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4E3C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59218d;
/* rgb */ color: rgb(89, 33, 141);
/* oklch */ color: oklch(39.2% 0.167 302.8);
Tailwind
colors: {
  custom: {
    50: '#8d62af',
    500: '#59218d',
    950: '#000000',
  },
}
SCSS
$custom: #59218d;
$custom-light: #8d62af;
$custom-dark: #000000;
JSON
{
  "hex": "#59218d",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 271.111,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39237,
    "c": 0.1671,
    "h": 302.8
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#59218D
secondary
#83BA50
accent
#E54391
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59218D

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

Preview Lab → · Contrast checker → · Palette generator →

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