#59228A#59228A

#59228A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.163 H 303.7°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#59228A
RGBrgb(89, 34, 138)
HSLhsl(272, 60%, 34%)
HSVhsv(272, 75%, 54%)
CMYKcmyk(35.5%, 75.4%, 0%, 45.9%)
CIE-LABlab(27.03, 44.76, -47.52)
CIE-LCHlch(27.03, 65.29, 313.29°)
OKLaboklab(39.1% 0.0903 -0.1353)
OKLCHoklch(39.1% 0.163 303.7)
XYZxyz(9.2782, 5.1029, 24.5360)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228A #538A22
analogous
#25228A #59228A #8A2287
triadic
#59228A #8A5922 #228A59
tetradic
#59228A #8A2522 #538A22 #22878A
square
#59228A #8A2522 #538A22 #22878A
split-complementary
#59228A #878A22 #228A25
monochromatic
#1A0A28 #391659 #59228A #792EBB #9752D4

Accessibility & contrast

On white

10.39
#59228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#59228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #59228A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228A#FFFFFF#000000##FFFFFF
##59228A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4F3C54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59228a;
/* rgb */ color: rgb(89, 34, 138);
/* oklch */ color: oklch(39.1% 0.163 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d63ad',
    500: '#59228a',
    950: '#000000',
  },
}
SCSS
$custom: #59228a;
$custom-light: #8d63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#59228a",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 271.731,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39097,
    "c": 0.16271,
    "h": 303.7
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#59228A
secondary
#81B850
accent
#E4448F
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59228A

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

Preview Lab → · Contrast checker → · Palette generator →

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