#59218C#59218C

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

Color values

HEX#59218C
RGBrgb(89, 33, 140)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(36.4%, 76.4%, 0%, 45.1%)
CIE-LABlab(27.03, 45.71, -48.76)
CIE-LCHlch(27.03, 66.83, 313.15°)
OKLaboklab(39.15% 0.0909 -0.139)
OKLCHoklch(39.15% 0.166 303.2)
XYZxyz(9.3962, 5.1050, 25.2962)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59218C #548C21
analogous
#24218C #59218C #8C218A
triadic
#59218C #8C5921 #218C59
tetradic
#59218C #8C2421 #548C21 #218A8C
square
#59218C #8C2421 #548C21 #218A8C
split-complementary
#59218C #8A8C21 #218C24
monochromatic
#1A0A29 #3A155A #59218C #782DBE #9751D6

Accessibility & contrast

On white

10.39
#59218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59218C
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59218C#FFFFFF#000000##FFFFFF
##59218C1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4F3C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59218c;
/* rgb */ color: rgb(89, 33, 140);
/* oklch */ color: oklch(39.2% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#8d62ae',
    500: '#59218c',
    950: '#000000',
  },
}
SCSS
$custom: #59218c;
$custom-light: #8d62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59218c",
  "rgb": {
    "r": 89,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 271.402,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.16603,
    "h": 303.2
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#59218C
secondary
#82B94F
accent
#E54390
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59218C

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

Preview Lab → · Contrast checker → · Palette generator →

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