#59238A#59238A

#59238A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.162 H 303.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#59238A
RGBrgb(89, 35, 138)
HSLhsl(271, 60%, 34%)
HSVhsv(271, 75%, 54%)
CMYKcmyk(35.5%, 74.6%, 0%, 45.9%)
CIE-LABlab(27.19, 44.30, -47.26)
CIE-LCHlch(27.19, 64.78, 313.15°)
OKLaboklab(39.21% 0.0893 -0.1346)
OKLCHoklch(39.21% 0.162 303.6)
XYZxyz(9.3072, 5.1609, 24.5457)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59238A #548A23
analogous
#25238A #59238A #8A2388
triadic
#59238A #8A5923 #238A59
tetradic
#59238A #8A2523 #548A23 #23888A
square
#59238A #8A2523 #548A23 #23888A
split-complementary
#59238A #888A23 #238A25
monochromatic
#1A0A28 #3A1759 #59238A #782FBB #9754D4

Accessibility & contrast

On white

10.33
#59238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#59238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59238A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59238A#FFFFFF#000000##FFFFFF
##59238A1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4F3C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59238a;
/* rgb */ color: rgb(89, 35, 138);
/* oklch */ color: oklch(39.2% 0.162 303.6);
Tailwind
colors: {
  custom: {
    50: '#8d63ad',
    500: '#59238a',
    950: '#000000',
  },
}
SCSS
$custom: #59238a;
$custom-light: #8d63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#59238a",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 271.456,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39211,
    "c": 0.16152,
    "h": 303.6
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#59238A
secondary
#82B751
accent
#E34590
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59238A

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

Preview Lab → · Contrast checker → · Palette generator →

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