#59218F#59218F

#59218F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.169 H 302.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#59218F
RGBrgb(89, 33, 143)
HSLhsl(271, 63%, 35%)
HSVhsv(271, 77%, 56%)
CMYKcmyk(37.8%, 76.9%, 0%, 43.9%)
CIE-LABlab(27.28, 46.46, -50.21)
CIE-LCHlch(27.28, 68.40, 312.78°)
OKLaboklab(39.41% 0.0902 -0.1432)
OKLCHoklch(39.41% 0.169 302.2)
XYZxyz(9.6204, 5.1947, 26.4771)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218F #578F21
analogous
#22218F #59218F #8F218E
triadic
#59218F #8F5921 #218F59
tetradic
#59218F #8F2221 #578F21 #218E8F
square
#59218F #8F2221 #578F21 #218E8F
split-complementary
#59218F #8E8F21 #218F22
monochromatic
#1B0A2C #3A165D #59218F #782CC1 #9653D7

Accessibility & contrast

On white

10.30
#59218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#59218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59218F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218F#FFFFFF#000000##FFFFFF
##59218F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4D3D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59218f;
/* rgb */ color: rgb(89, 33, 143);
/* oklch */ color: oklch(39.4% 0.169 302.2);
Tailwind
colors: {
  custom: {
    50: '#8d62b1',
    500: '#59218f',
    950: '#000000',
  },
}
SCSS
$custom: #59218f;
$custom-light: #8d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#59218f",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 270.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.16924,
    "h": 302.2
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#59218F
secondary
#85BB51
accent
#E64292
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #59218F

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

Preview Lab → · Contrast checker → · Palette generator →

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