#59237C#59237C

#59237C is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.146 H 308.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#59237C
RGBrgb(89, 35, 124)
HSLhsl(276, 56%, 31%)
HSVhsv(276, 72%, 49%)
CMYKcmyk(28.2%, 71.8%, 0%, 51.4%)
CIE-LABlab(26.10, 40.87, -40.23)
CIE-LCHlch(26.10, 57.35, 315.45°)
OKLaboklab(38.1% 0.0917 -0.1139)
OKLCHoklch(38.1% 0.146 308.8)
XYZxyz(8.3582, 4.7813, 19.5474)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59237C #467C23
analogous
#2C237C #59237C #7C2372
triadic
#59237C #7C5923 #237C59
tetradic
#59237C #7C2C23 #467C23 #23727C
square
#59237C #7C2C23 #467C23 #23727C
split-complementary
#59237C #727C23 #237C2C
monochromatic
#14081D #37164C #59237C #7B30AC #9A4DCD

Accessibility & contrast

On white

10.74
#59237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#59237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59237C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59237C#FFFFFF#000000##FFFFFF
##59237C1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#103E7A
Tritanopia (blue-blind)
#54374D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59237c;
/* rgb */ color: rgb(89, 35, 124);
/* oklch */ color: oklch(38.1% 0.146 308.8);
Tailwind
colors: {
  custom: {
    50: '#8b63a2',
    500: '#59237c',
    950: '#000000',
  },
}
SCSS
$custom: #59237c;
$custom-light: #8b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59237c",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 276.404,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.14622,
    "h": 308.8
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#59237C
secondary
#73AF4C
accent
#DF4984
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59237C

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

Preview Lab → · Contrast checker → · Palette generator →

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