#59238C#59238C

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

Color values

HEX#59238C
RGBrgb(89, 35, 140)
HSLhsl(271, 60%, 34%)
HSVhsv(271, 75%, 55%)
CMYKcmyk(36.4%, 75%, 0%, 45.1%)
CIE-LABlab(27.35, 44.80, -48.24)
CIE-LCHlch(27.35, 65.84, 312.89°)
OKLaboklab(39.38% 0.0889 -0.1374)
OKLCHoklch(39.38% 0.164 302.9)
XYZxyz(9.4534, 5.2194, 25.3153)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59238C #568C23
analogous
#25238C #59238C #8C238B
triadic
#59238C #8C5923 #238C59
tetradic
#59238C #8C2523 #568C23 #238B8C
square
#59238C #8C2523 #568C23 #238B8C
split-complementary
#59238C #8B8C23 #238C25
monochromatic
#1B0B2A #3A175B #59238C #782FBD #9755D4

Accessibility & contrast

On white

10.27
#59238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#59238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59238C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59238C#FFFFFF#000000##FFFFFF
##59238C1.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)
#00408F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4F3D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59238c;
/* rgb */ color: rgb(89, 35, 140);
/* oklch */ color: oklch(39.4% 0.164 302.9);
Tailwind
colors: {
  custom: {
    50: '#8d63ae',
    500: '#59238c',
    950: '#000000',
  },
}
SCSS
$custom: #59238c;
$custom-light: #8d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59238c",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 270.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.16369,
    "h": 302.9
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#59238C
secondary
#84B852
accent
#E34592
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59238C

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

Preview Lab → · Contrast checker → · Palette generator →

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