#59258A#59258A

#59258A is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.159 H 303.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#59258A
RGBrgb(89, 37, 138)
HSLhsl(271, 58%, 34%)
HSVhsv(271, 73%, 54%)
CMYKcmyk(35.5%, 73.2%, 0%, 45.9%)
CIE-LABlab(27.52, 43.36, -46.71)
CIE-LCHlch(27.52, 63.74, 312.87°)
OKLaboklab(39.45% 0.0872 -0.133)
OKLCHoklch(39.45% 0.159 303.3)
XYZxyz(9.3678, 5.2820, 24.5658)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59258A #568A25
analogous
#27258A #59258A #8A2589
triadic
#59258A #8A5925 #258A59
tetradic
#59258A #8A2725 #568A25 #25898A
square
#59258A #8A2725 #568A25 #25898A
split-complementary
#59258A #898A25 #258A27
monochromatic
#1B0B29 #3A185A #59258A #7832BA #9757D2

Accessibility & contrast

On white

10.21
#59258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59258A
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59258A#FFFFFF#000000##FFFFFF
##59258A1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#4F3D55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #59258a;
/* rgb */ color: rgb(89, 37, 138);
/* oklch */ color: oklch(39.4% 0.159 303.3);
Tailwind
colors: {
  custom: {
    50: '#8d64ad',
    500: '#59258a',
    950: '#000000',
  },
}
SCSS
$custom: #59258a;
$custom-light: #8d64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#59258a",
  "rgb": {
    "r": 89,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 270.891,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.15904,
    "h": 303.3
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#59258A
secondary
#84B754
accent
#E14792
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #59258A

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

Preview Lab → · Contrast checker → · Palette generator →

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