#59228D#59228D

#59228D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.166 H 302.7°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#59228D
RGBrgb(89, 34, 141)
HSLhsl(271, 61%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(36.9%, 75.9%, 0%, 44.7%)
CIE-LABlab(27.27, 45.51, -48.99)
CIE-LCHlch(27.27, 66.86, 312.89°)
OKLaboklab(39.35% 0.0897 -0.1396)
OKLCHoklch(39.35% 0.166 302.7)
XYZxyz(9.4984, 5.1910, 25.6957)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228D #568D22
analogous
#23228D #59228D #8D228C
triadic
#59228D #8D5922 #228D59
tetradic
#59228D #8D2322 #568D22 #228C8D
square
#59228D #8D2322 #568D22 #228C8D
split-complementary
#59228D #8C8D22 #228D23
monochromatic
#1B0A2A #3A165C #59228D #782EBE #9754D6

Accessibility & contrast

On white

10.30
#59228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#59228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59228D
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228D#FFFFFF#000000##FFFFFF
##59228D1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4E3D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59228d;
/* rgb */ color: rgb(89, 34, 141);
/* oklch */ color: oklch(39.3% 0.166 302.7);
Tailwind
colors: {
  custom: {
    50: '#8d63af',
    500: '#59228d',
    950: '#000000',
  },
}
SCSS
$custom: #59228d;
$custom-light: #8d63af;
$custom-dark: #000000;
JSON
{
  "hex": "#59228d",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 270.841,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.16595,
    "h": 302.7
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#59228D
secondary
#84B951
accent
#E44492
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59228D

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

Preview Lab → · Contrast checker → · Palette generator →

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