#58216F#58216F

#58216F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.135 H 314.3°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#58216F
RGBrgb(88, 33, 111)
HSLhsl(282, 54%, 28%)
HSVhsv(282, 70%, 44%)
CMYKcmyk(20.7%, 70.3%, 0%, 56.5%)
CIE-LABlab(24.67, 38.55, -34.25)
CIE-LCHlch(24.67, 51.57, 318.38°)
OKLaboklab(36.74% 0.0939 -0.0964)
OKLCHoklch(36.74% 0.135 314.3)
XYZxyz(7.4371, 4.3104, 15.4761)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58216F #386F21
analogous
#31216F #58216F #6F215F
triadic
#58216F #6F5821 #216F58
tetradic
#58216F #6F3121 #386F21 #215F6F
square
#58216F #6F3121 #386F21 #215F6F
split-complementary
#58216F #5F6F21 #216F31
monochromatic
#130718 #331340 #58216F #7D2F9E #A043C7

Accessibility & contrast

On white

11.28
#58216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#58216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58216F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58216F#FFFFFF#000000##FFFFFF
##58216F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#1E3C6D
Tritanopia (blue-blind)
#563045
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58216f;
/* rgb */ color: rgb(88, 33, 111);
/* oklch */ color: oklch(36.7% 0.135 314.3);
Tailwind
colors: {
  custom: {
    50: '#8a6199',
    500: '#58216f',
    950: '#000000',
  },
}
SCSS
$custom: #58216f;
$custom-light: #8a6199;
$custom-dark: #000000;
JSON
{
  "hex": "#58216f",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 282.308,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36744,
    "c": 0.13457,
    "h": 314.3
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#58216F
secondary
#64A349
accent
#DE4A76
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #58216F

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

Preview Lab → · Contrast checker → · Palette generator →

#58216F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva