#59237D#59237D

#59237D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.147 H 308.4°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#59237D
RGBrgb(89, 35, 125)
HSLhsl(276, 56%, 31%)
HSVhsv(276, 72%, 49%)
CMYKcmyk(28.8%, 72%, 0%, 51%)
CIE-LABlab(26.18, 41.11, -40.75)
CIE-LCHlch(26.18, 57.88, 315.25°)
OKLaboklab(38.17% 0.0915 -0.1154)
OKLCHoklch(38.17% 0.147 308.4)
XYZxyz(8.4218, 4.8067, 19.8822)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59237D #477D23
analogous
#2C237D #59237D #7D2374
triadic
#59237D #7D5923 #237D59
tetradic
#59237D #7D2C23 #477D23 #23747D
square
#59237D #7D2C23 #477D23 #23747D
split-complementary
#59237D #747D23 #237D2C
monochromatic
#15081D #37164D #59237D #7B30AD #9A4DCD

Accessibility & contrast

On white

10.71
#59237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59237D
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59237D#FFFFFF#000000##FFFFFF
##59237D1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#0E3F7B
Tritanopia (blue-blind)
#53374D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #59237d;
/* rgb */ color: rgb(89, 35, 125);
/* oklch */ color: oklch(38.2% 0.147 308.4);
Tailwind
colors: {
  custom: {
    50: '#8c63a3',
    500: '#59237d',
    950: '#000000',
  },
}
SCSS
$custom: #59237d;
$custom-light: #8c63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#59237d",
  "rgb": {
    "r": 89,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 276,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38174,
    "c": 0.1473,
    "h": 308.4
  },
  "luminance": 0.04807
}

Semantic roles & 50–950 ramp

primary
#59237D
secondary
#74AF4C
accent
#E04885
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #59237D

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

Preview Lab → · Contrast checker → · Palette generator →

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