#58217C#58217C

#58217C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.149 H 308.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#58217C
RGBrgb(88, 33, 124)
HSLhsl(276, 58%, 31%)
HSVhsv(276, 73%, 49%)
CMYKcmyk(29%, 73.4%, 0%, 51.4%)
CIE-LABlab(25.62, 41.60, -41.03)
CIE-LCHlch(25.62, 58.43, 315.40°)
OKLaboklab(37.72% 0.0925 -0.1163)
OKLCHoklch(37.72% 0.149 308.5)
XYZxyz(8.2057, 4.6178, 19.5239)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58217C #457C21
analogous
#2A217C #58217C #7C2172
triadic
#58217C #7C5821 #217C58
tetradic
#58217C #7C2A21 #457C21 #21727C
square
#58217C #7C2A21 #457C21 #21727C
split-complementary
#58217C #727C21 #217C2A
monochromatic
#13071B #36144C #58217C #7A2EAC #9A49CF

Accessibility & contrast

On white

10.92
#58217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#58217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58217C
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58217C#FFFFFF#000000##FFFFFF
##58217C1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#0A3D7A
Tritanopia (blue-blind)
#52364C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58217c;
/* rgb */ color: rgb(88, 33, 124);
/* oklch */ color: oklch(37.7% 0.149 308.5);
Tailwind
colors: {
  custom: {
    50: '#8b61a3',
    500: '#58217c',
    950: '#000000',
  },
}
SCSS
$custom: #58217c;
$custom-light: #8b61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58217c",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 276.264,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3772,
    "c": 0.14857,
    "h": 308.5
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#58217C
secondary
#72AF4A
accent
#E14784
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58217C

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

Preview Lab → · Contrast checker → · Palette generator →

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