#59287D#59287D

#59287D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 307.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#59287D
RGBrgb(89, 40, 125)
HSLhsl(275, 52%, 32%)
HSVhsv(275, 68%, 49%)
CMYKcmyk(28.8%, 68%, 0%, 51%)
CIE-LABlab(27.08, 38.60, -39.29)
CIE-LCHlch(27.08, 55.08, 314.49°)
OKLaboklab(38.82% 0.0856 -0.1112)
OKLCHoklch(38.82% 0.14 307.6)
XYZxyz(8.5795, 5.1222, 19.9348)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59287D #4C7D28
analogous
#2E287D #59287D #7D2877
triadic
#59287D #7D5928 #287D59
tetradic
#59287D #7D2E28 #4C7D28 #28777D
square
#59287D #7D2E28 #4C7D28 #28777D
split-complementary
#59287D #777D28 #287D2E
monochromatic
#170A20 #38194F #59287D #7A37AB #9856C9

Accessibility & contrast

On white

10.37
#59287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#59287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59287D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59287D#FFFFFF#000000##FFFFFF
##59287D1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#533A4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59287d;
/* rgb */ color: rgb(89, 40, 125);
/* oklch */ color: oklch(38.8% 0.140 307.6);
Tailwind
colors: {
  custom: {
    50: '#8b65a3',
    500: '#59287d',
    950: '#000000',
  },
}
SCSS
$custom: #59287d;
$custom-light: #8b65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#59287d",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 274.588,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38821,
    "c": 0.1403,
    "h": 307.6
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#59287D
secondary
#79AE53
accent
#DB4D89
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #59287D

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

Preview Lab → · Contrast checker → · Palette generator →

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