#59238D#59238D

#59238D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.165 H 302.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#59238D
RGBrgb(89, 35, 141)
HSLhsl(271, 60%, 35%)
HSVhsv(271, 75%, 55%)
CMYKcmyk(36.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(27.43, 45.05, -48.73)
CIE-LCHlch(27.43, 66.36, 312.76°)
OKLaboklab(39.46% 0.0887 -0.1389)
OKLCHoklch(39.46% 0.165 302.6)
XYZxyz(9.5274, 5.2490, 25.7054)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59238D #578D23
analogous
#24238D #59238D #8D238C
triadic
#59238D #8D5923 #238D59
tetradic
#59238D #8D2423 #578D23 #238C8D
square
#59238D #8D2423 #578D23 #238C8D
split-complementary
#59238D #8C8D23 #238D24
monochromatic
#1B0B2B #3A175C #59238D #782FBE #9655D5

Accessibility & contrast

On white

10.24
#59238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#59238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59238D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59238D#FFFFFF#000000##FFFFFF
##59238D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #59238d;
/* rgb */ color: rgb(89, 35, 141);
/* oklch */ color: oklch(39.5% 0.165 302.6);
Tailwind
colors: {
  custom: {
    50: '#8d63af',
    500: '#59238d',
    950: '#000000',
  },
}
SCSS
$custom: #59238d;
$custom-light: #8d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#59238d",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 270.566,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39461,
    "c": 0.16478,
    "h": 302.6
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#59238D
secondary
#85B953
accent
#E34492
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59238D

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

Preview Lab → · Contrast checker → · Palette generator →

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