#58217D#58217D

#58217D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.150 H 308.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#58217D
RGBrgb(88, 33, 125)
HSLhsl(276, 58%, 31%)
HSVhsv(276, 74%, 49%)
CMYKcmyk(29.6%, 73.6%, 0%, 51%)
CIE-LABlab(25.69, 41.84, -41.54)
CIE-LCHlch(25.69, 58.96, 315.21°)
OKLaboklab(37.8% 0.0923 -0.1178)
OKLCHoklch(37.8% 0.15 308.1)
XYZxyz(8.2693, 4.6432, 19.8587)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58217D #467D21
analogous
#2A217D #58217D #7D2174
triadic
#58217D #7D5821 #217D58
tetradic
#58217D #7D2A21 #467D21 #21747D
square
#58217D #7D2A21 #467D21 #21747D
split-complementary
#58217D #747D21 #217D2A
monochromatic
#14071C #36144D #58217D #7A2EAD #9949CF

Accessibility & contrast

On white

10.89
#58217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58217D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58217D#FFFFFF#000000##FFFFFF
##58217D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#073D7B
Tritanopia (blue-blind)
#52364D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58217d;
/* rgb */ color: rgb(88, 33, 125);
/* oklch */ color: oklch(37.8% 0.150 308.1);
Tailwind
colors: {
  custom: {
    50: '#8b62a3',
    500: '#58217d',
    950: '#000000',
  },
}
SCSS
$custom: #58217d;
$custom-light: #8b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#58217d",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 275.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.14964,
    "h": 308.1
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#58217D
secondary
#73B04A
accent
#E14685
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #58217D

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

Preview Lab → · Contrast checker → · Palette generator →

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