#59288E#59288E

#59288E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.160 H 301.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#59288E
RGBrgb(89, 40, 142)
HSLhsl(269, 56%, 36%)
HSVhsv(269, 72%, 56%)
CMYKcmyk(37.3%, 71.8%, 0%, 44.3%)
CIE-LABlab(28.37, 42.91, -47.83)
CIE-LCHlch(28.37, 64.26, 311.90°)
OKLaboklab(40.15% 0.0833 -0.1363)
OKLCHoklch(40.15% 0.16 301.4)
XYZxyz(9.7599, 5.5944, 26.1516)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59288E #5D8E28
analogous
#282A8E #59288E #8C288E
triadic
#59288E #8E5928 #288E59
tetradic
#59288E #8E282A #5D8E28 #288E8C
square
#59288E #8E282A #5D8E28 #288E8C
split-complementary
#59288E #8E8C28 #2A8E28
monochromatic
#1D0D2F #3B1B5E #59288E #7735BE #965FD2

Accessibility & contrast

On white

9.91
#59288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#59288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59288E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59288E#FFFFFF#000000##FFFFFF
##59288E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#4E4058
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59288e;
/* rgb */ color: rgb(89, 40, 142);
/* oklch */ color: oklch(40.1% 0.160 301.4);
Tailwind
colors: {
  custom: {
    50: '#8d66b0',
    500: '#59288e',
    950: '#000000',
  },
}
SCSS
$custom: #59288e;
$custom-light: #8d66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#59288e",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 268.824,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.15974,
    "h": 301.4
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#59288E
secondary
#8BB75B
accent
#DF4897
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59288E

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

Preview Lab → · Contrast checker → · Palette generator →

#59288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva