#59228E#59228E

#59228E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.167 H 302.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#59228E
RGBrgb(89, 34, 142)
HSLhsl(271, 61%, 35%)
HSVhsv(271, 76%, 56%)
CMYKcmyk(37.3%, 76.1%, 0%, 44.3%)
CIE-LABlab(27.36, 45.76, -49.47)
CIE-LCHlch(27.36, 67.39, 312.77°)
OKLaboklab(39.43% 0.0894 -0.1411)
OKLCHoklch(39.43% 0.167 302.4)
XYZxyz(9.5732, 5.2209, 26.0893)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228E #578E22
analogous
#23228E #59228E #8E228D
triadic
#59228E #8E5922 #228E59
tetradic
#59228E #8E2322 #578E22 #228D8E
square
#59228E #8E2322 #578E22 #228D8E
split-complementary
#59228E #8D8E22 #228E23
monochromatic
#1B0A2B #3A165D #59228E #782EBF #9654D6

Accessibility & contrast

On white

10.27
#59228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#59228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59228E
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228E#FFFFFF#000000##FFFFFF
##59228E1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#4E3D56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59228e;
/* rgb */ color: rgb(89, 34, 142);
/* oklch */ color: oklch(39.4% 0.167 302.4);
Tailwind
colors: {
  custom: {
    50: '#8d63b0',
    500: '#59228e',
    950: '#000000',
  },
}
SCSS
$custom: #59228e;
$custom-light: #8d63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#59228e",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 270.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.16703,
    "h": 302.4
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#59228E
secondary
#85BA52
accent
#E44392
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59228E

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

Preview Lab → · Contrast checker → · Palette generator →

#59228E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva