#59238E#59238E

#59238E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.166 H 302.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#59238E
RGBrgb(89, 35, 142)
HSLhsl(270, 60%, 35%)
HSVhsv(270, 75%, 56%)
CMYKcmyk(37.3%, 75.4%, 0%, 44.3%)
CIE-LABlab(27.52, 45.31, -49.21)
CIE-LCHlch(27.52, 66.89, 312.63°)
OKLaboklab(39.54% 0.0885 -0.1403)
OKLCHoklch(39.54% 0.166 302.2)
XYZxyz(9.6022, 5.2789, 26.0990)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59238E #588E23
analogous
#23238E #59238E #8E238E
triadic
#59238E #8E5923 #238E59
tetradic
#59238E #8E2323 #588E23 #238E8E
square
#59238E #8E2323 #588E23 #238E8E
split-complementary
#59238E #8E8E23 #238E23
monochromatic
#1B0B2C #3A175D #59238E #782FBF #9656D5

Accessibility & contrast

On white

10.22
#59238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#59238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59238E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59238E#FFFFFF#000000##FFFFFF
##59238E1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59238e;
/* rgb */ color: rgb(89, 35, 142);
/* oklch */ color: oklch(39.5% 0.166 302.2);
Tailwind
colors: {
  custom: {
    50: '#8d63b0',
    500: '#59238e',
    950: '#000000',
  },
}
SCSS
$custom: #59238e;
$custom-light: #8d63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#59238e",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 270.28,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.16587,
    "h": 302.2
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#59238E
secondary
#86B953
accent
#E44493
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59238E

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

Preview Lab → · Contrast checker → · Palette generator →

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