#59287C#59287C

#59287C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.139 H 308.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#59287C
RGBrgb(89, 40, 124)
HSLhsl(275, 51%, 32%)
HSVhsv(275, 68%, 49%)
CMYKcmyk(28.2%, 67.7%, 0%, 51.4%)
CIE-LABlab(27.01, 38.35, -38.77)
CIE-LCHlch(27.01, 54.54, 314.69°)
OKLaboklab(38.75% 0.0857 -0.1097)
OKLCHoklch(38.75% 0.139 308)
XYZxyz(8.5160, 5.0968, 19.6000)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59287C #4B7C28
analogous
#2F287C #59287C #7C2875
triadic
#59287C #7C5928 #287C59
tetradic
#59287C #7C2F28 #4B7C28 #28757C
square
#59287C #7C2F28 #4B7C28 #28757C
split-complementary
#59287C #757C28 #287C2F
monochromatic
#170A1F #38194E #59287C #7A37AA #9956C8

Accessibility & contrast

On white

10.40
#59287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59287C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59287C#FFFFFF#000000##FFFFFF
##59287C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#18407A
Tritanopia (blue-blind)
#543A4E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59287c;
/* rgb */ color: rgb(89, 40, 124);
/* oklch */ color: oklch(38.7% 0.139 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b65a2',
    500: '#59287c',
    950: '#000000',
  },
}
SCSS
$custom: #59287c;
$custom-light: #8b65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#59287c",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 275,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.13915,
    "h": 308
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#59287C
secondary
#78AD52
accent
#DB4D88
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #59287C

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

Preview Lab → · Contrast checker → · Palette generator →

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