#59288F#59288F

#59288F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.161 H 301.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#59288F
RGBrgb(89, 40, 143)
HSLhsl(269, 56%, 36%)
HSVhsv(269, 72%, 56%)
CMYKcmyk(37.8%, 72%, 0%, 43.9%)
CIE-LABlab(28.44, 43.17, -48.32)
CIE-LCHlch(28.44, 64.79, 311.78°)
OKLaboklab(40.23% 0.0832 -0.1377)
OKLCHoklch(40.23% 0.161 301.1)
XYZxyz(9.8353, 5.6245, 26.5488)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59288F #5E8F28
analogous
#282A8F #59288F #8C288F
triadic
#59288F #8F5928 #288F59
tetradic
#59288F #8F282A #5E8F28 #288F8C
square
#59288F #8F282A #5E8F28 #288F8C
split-complementary
#59288F #8F8C28 #2A8F28
monochromatic
#1D0D2F #3B1B5F #59288F #7735BF #965FD2

Accessibility & contrast

On white

9.88
#59288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#59288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59288F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59288F#FFFFFF#000000##FFFFFF
##59288F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#4D4158
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #59288f;
/* rgb */ color: rgb(89, 40, 143);
/* oklch */ color: oklch(40.2% 0.161 301.1);
Tailwind
colors: {
  custom: {
    50: '#8d66b1',
    500: '#59288f',
    950: '#000000',
  },
}
SCSS
$custom: #59288f;
$custom-light: #8d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#59288f",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 268.544,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.16087,
    "h": 301.1
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

primary
#59288F
secondary
#8CB85B
accent
#E04898
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #59288F

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

Preview Lab → · Contrast checker → · Palette generator →

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