#59288C#59288C

#59288C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.157 H 302.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#59288C
RGBrgb(89, 40, 140)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 71%, 55%)
CMYKcmyk(36.4%, 71.4%, 0%, 45.1%)
CIE-LABlab(28.21, 42.39, -46.85)
CIE-LCHlch(28.21, 63.18, 312.14°)
OKLaboklab(39.99% 0.0837 -0.1334)
OKLCHoklch(39.99% 0.157 302.1)
XYZxyz(9.6111, 5.5349, 25.3678)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59288C #5B8C28
analogous
#28298C #59288C #8B288C
triadic
#59288C #8C5928 #288C59
tetradic
#59288C #8C2829 #5B8C28 #288C8B
square
#59288C #8C2829 #5B8C28 #288C8B
split-complementary
#59288C #8C8B28 #298C28
monochromatic
#1C0D2D #3B1A5C #59288C #7736BC #965ED1

Accessibility & contrast

On white

9.97
#59288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#59288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59288C
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59288C#FFFFFF#000000##FFFFFF
##59288C1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00428A
Tritanopia (blue-blind)
#4E4057
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59288c;
/* rgb */ color: rgb(89, 40, 140);
/* oklch */ color: oklch(40.0% 0.157 302.1);
Tailwind
colors: {
  custom: {
    50: '#8d66ae',
    500: '#59288c',
    950: '#000000',
  },
}
SCSS
$custom: #59288c;
$custom-light: #8d66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59288c",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 269.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39985,
    "c": 0.15747,
    "h": 302.1
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#59288C
secondary
#89B65A
accent
#DF4995
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #59288C

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

Preview Lab → · Contrast checker → · Palette generator →

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