#58217A#58217A

#58217A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.146 H 309.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#58217A
RGBrgb(88, 33, 122)
HSLhsl(277, 57%, 30%)
HSVhsv(277, 73%, 48%)
CMYKcmyk(27.9%, 73%, 0%, 52.2%)
CIE-LABlab(25.47, 41.12, -40.00)
CIE-LCHlch(25.47, 57.37, 315.79°)
OKLaboklab(37.57% 0.0928 -0.1133)
OKLCHoklch(37.57% 0.146 309.3)
XYZxyz(8.0805, 4.5677, 18.8646)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58217A #437A21
analogous
#2C217A #58217A #7A216F
triadic
#58217A #7A5821 #217A58
tetradic
#58217A #7A2C21 #437A21 #216F7A
square
#58217A #7A2C21 #437A21 #216F7A
split-complementary
#58217A #6F7A21 #217A2C
monochromatic
#13071A #35144A #58217A #7B2EAA #9A48CD

Accessibility & contrast

On white

10.97
#58217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#58217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58217A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58217A#FFFFFF#000000##FFFFFF
##58217A1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#0E3D78
Tritanopia (blue-blind)
#53354B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58217a;
/* rgb */ color: rgb(88, 33, 122);
/* oklch */ color: oklch(37.6% 0.146 309.3);
Tailwind
colors: {
  custom: {
    50: '#8b61a1',
    500: '#58217a',
    950: '#000000',
  },
}
SCSS
$custom: #58217a;
$custom-light: #8b61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#58217a",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 277.079,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.14641,
    "h": 309.3
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#58217A
secondary
#70AD4A
accent
#E14782
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58217A

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

Preview Lab → · Contrast checker → · Palette generator →

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