#59228C#59228C

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

Color values

HEX#59228C
RGBrgb(89, 34, 140)
HSLhsl(271, 61%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(36.4%, 75.7%, 0%, 45.1%)
CIE-LABlab(27.19, 45.26, -48.50)
CIE-LCHlch(27.19, 66.34, 313.02°)
OKLaboklab(39.26% 0.0899 -0.1382)
OKLCHoklch(39.26% 0.165 303)
XYZxyz(9.4244, 5.1613, 25.3056)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228C #558C22
analogous
#24228C #59228C #8C228A
triadic
#59228C #8C5922 #228C59
tetradic
#59228C #8C2422 #558C22 #228A8C
square
#59228C #8C2422 #558C22 #228A8C
split-complementary
#59228C #8A8C22 #228C24
monochromatic
#1A0A2A #3A165B #59228C #782EBD #9753D5

Accessibility & contrast

On white

10.33
#59228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#59228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59228C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228C#FFFFFF#000000##FFFFFF
##59228C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4F3C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59228c;
/* rgb */ color: rgb(89, 34, 140);
/* oklch */ color: oklch(39.3% 0.165 303.0);
Tailwind
colors: {
  custom: {
    50: '#8d63ae',
    500: '#59228c',
    950: '#000000',
  },
}
SCSS
$custom: #59228c;
$custom-light: #8d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59228c",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 271.132,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.16487,
    "h": 303
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#59228C
secondary
#83B951
accent
#E44491
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59228C

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

Preview Lab → · Contrast checker → · Palette generator →

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