#59228B#59228B

#59228B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 303.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#59228B
RGBrgb(89, 34, 139)
HSLhsl(271, 61%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(36%, 75.5%, 0%, 45.5%)
CIE-LABlab(27.11, 45.01, -48.01)
CIE-LCHlch(27.11, 65.81, 313.15°)
OKLaboklab(39.18% 0.0901 -0.1368)
OKLCHoklch(39.18% 0.164 303.4)
XYZxyz(9.3510, 5.1320, 24.9190)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#59228B #548B22
analogous
#25228B #59228B #8B2289
triadic
#59228B #8B5922 #228B59
tetradic
#59228B #8B2522 #548B22 #22898B
square
#59228B #8B2522 #548B22 #22898B
split-complementary
#59228B #898B22 #228B25
monochromatic
#1A0A29 #3A165A #59228B #782EBC #9753D5

Accessibility & contrast

On white

10.36
#59228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #59228B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##59228B#FFFFFF#000000##FFFFFF
##59228B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#4F3C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #59228b;
/* rgb */ color: rgb(89, 34, 139);
/* oklch */ color: oklch(39.2% 0.164 303.4);
Tailwind
colors: {
  custom: {
    50: '#8d63ae',
    500: '#59228b',
    950: '#000000',
  },
}
SCSS
$custom: #59228b;
$custom-light: #8d63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#59228b",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 271.429,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3918,
    "c": 0.16379,
    "h": 303.4
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#59228B
secondary
#82B850
accent
#E44490
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #59228B

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

Preview Lab → · Contrast checker → · Palette generator →

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