#59258C#59258C

#59258C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.161 H 302.6°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#59258C
RGBrgb(89, 37, 140)
HSLhsl(270, 58%, 35%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(36.4%, 73.6%, 0%, 45.1%)
CIE-LABlab(27.68, 43.86, -47.70)
CIE-LCHlch(27.68, 64.80, 312.60°)
OKLaboklab(39.61% 0.0869 -0.1359)
OKLCHoklch(39.61% 0.161 302.6)
XYZxyz(9.5139, 5.3404, 25.3354)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59258C #588C25
analogous
#25258C #59258C #8C258C
triadic
#59258C #8C5925 #258C59
tetradic
#59258C #8C2525 #588C25 #258C8C
square
#59258C #8C2525 #588C25 #258C8C
split-complementary
#59258C #8C8C25 #258C25
monochromatic
#1B0B2B #3A185C #59258C #7832BC #9658D3

Accessibility & contrast

On white

10.15
#59258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#59258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59258C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59258C#FFFFFF#000000##FFFFFF
##59258C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#4E3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59258c;
/* rgb */ color: rgb(89, 37, 140);
/* oklch */ color: oklch(39.6% 0.161 302.6);
Tailwind
colors: {
  custom: {
    50: '#8d64ae',
    500: '#59258c',
    950: '#000000',
  },
}
SCSS
$custom: #59258c;
$custom-light: #8d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59258c",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 270.291,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39613,
    "c": 0.16127,
    "h": 302.6
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#59258C
secondary
#86B855
accent
#E14693
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0610
muted
#7E7A7F

Preview Lab

Preview with #59258C

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

Preview Lab → · Contrast checker → · Palette generator →

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