#59218A#59218A

#59218A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.164 H 303.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#59218A
RGBrgb(89, 33, 138)
HSLhsl(272, 61%, 34%)
HSVhsv(272, 76%, 54%)
CMYKcmyk(35.5%, 76.1%, 0%, 45.9%)
CIE-LABlab(26.87, 45.22, -47.78)
CIE-LCHlch(26.87, 65.78, 313.42°)
OKLaboklab(38.98% 0.0913 -0.1361)
OKLCHoklch(38.98% 0.164 303.9)
XYZxyz(9.2501, 5.0466, 24.5266)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218A #528A21
analogous
#24218A #59218A #8A2186
triadic
#59218A #8A5921 #218A59
tetradic
#59218A #8A2421 #528A21 #21868A
square
#59218A #8A2421 #528A21 #21868A
split-complementary
#59218A #868A21 #218A24
monochromatic
#190927 #391559 #59218A #792DBB #9750D5

Accessibility & contrast

On white

10.45
#59218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#59218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59218A
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218A#FFFFFF#000000##FFFFFF
##59218A1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#4F3B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #59218a;
/* rgb */ color: rgb(89, 33, 138);
/* oklch */ color: oklch(39.0% 0.164 303.9);
Tailwind
colors: {
  custom: {
    50: '#8d62ad',
    500: '#59218a',
    950: '#000000',
  },
}
SCSS
$custom: #59218a;
$custom-light: #8d62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#59218a",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 272,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.16388,
    "h": 303.9
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#59218A
secondary
#80B94E
accent
#E5438F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59218A

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

Preview Lab → · Contrast checker → · Palette generator →

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