#59218B#59218B

#59218B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.165 H 303.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#59218B
RGBrgb(89, 33, 139)
HSLhsl(272, 62%, 34%)
HSVhsv(272, 76%, 55%)
CMYKcmyk(36%, 76.3%, 0%, 45.5%)
CIE-LABlab(26.95, 45.46, -48.27)
CIE-LCHlch(26.95, 66.31, 313.28°)
OKLaboklab(39.07% 0.0911 -0.1375)
OKLCHoklch(39.07% 0.165 303.5)
XYZxyz(9.3228, 5.0757, 24.9096)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218B #538B21
analogous
#24218B #59218B #8B2188
triadic
#59218B #8B5921 #218B59
tetradic
#59218B #8B2421 #538B21 #21888B
square
#59218B #8B2421 #538B21 #21888B
split-complementary
#59218B #888B21 #218B24
monochromatic
#1A0A28 #39155A #59218B #792DBC #9751D6

Accessibility & contrast

On white

10.42
#59218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#59218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59218B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218B#FFFFFF#000000##FFFFFF
##59218B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#4F3B54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59218b;
/* rgb */ color: rgb(89, 33, 139);
/* oklch */ color: oklch(39.1% 0.165 303.5);
Tailwind
colors: {
  custom: {
    50: '#8d62ae',
    500: '#59218b',
    950: '#000000',
  },
}
SCSS
$custom: #59218b;
$custom-light: #8d62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59218b",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 271.698,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.16496,
    "h": 303.5
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#59218B
secondary
#81B94F
accent
#E5438F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59218B

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

Preview Lab → · Contrast checker → · Palette generator →

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