#59258B#59258B

#59258B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.160 H 302.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#59258B
RGBrgb(89, 37, 139)
HSLhsl(271, 58%, 35%)
HSVhsv(271, 73%, 55%)
CMYKcmyk(36%, 73.4%, 0%, 45.5%)
CIE-LABlab(27.60, 43.61, -47.21)
CIE-LCHlch(27.60, 64.27, 312.73°)
OKLaboklab(39.53% 0.0871 -0.1344)
OKLCHoklch(39.53% 0.16 302.9)
XYZxyz(9.4405, 5.3111, 24.9489)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59258B #578B25
analogous
#26258B #59258B #8B258A
triadic
#59258B #8B5925 #258B59
tetradic
#59258B #8B2625 #578B25 #258A8B
square
#59258B #8B2625 #578B25 #258A8B
split-complementary
#59258B #8A8B25 #258B26
monochromatic
#1B0B2A #3A185B #59258B #7832BB #9658D3

Accessibility & contrast

On white

10.18
#59258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#59258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59258B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59258B#FFFFFF#000000##FFFFFF
##59258B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#4F3E55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59258b;
/* rgb */ color: rgb(89, 37, 139);
/* oklch */ color: oklch(39.5% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#8d64ae',
    500: '#59258b',
    950: '#000000',
  },
}
SCSS
$custom: #59258b;
$custom-light: #8d64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59258b",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 270.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.16016,
    "h": 302.9
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#59258B
secondary
#85B755
accent
#E14792
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #59258B

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

Preview Lab → · Contrast checker → · Palette generator →

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