#58217B#58217B

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

Color values

HEX#58217B
RGBrgb(88, 33, 123)
HSLhsl(277, 58%, 31%)
HSVhsv(277, 73%, 48%)
CMYKcmyk(28.5%, 73.2%, 0%, 51.8%)
CIE-LABlab(25.54, 41.36, -40.52)
CIE-LCHlch(25.54, 57.90, 315.59°)
OKLaboklab(37.64% 0.0926 -0.1148)
OKLCHoklch(37.64% 0.147 308.9)
XYZxyz(8.1428, 4.5926, 19.1926)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58217B #447B21
analogous
#2B217B #58217B #7B2171
triadic
#58217B #7B5821 #217B58
tetradic
#58217B #7B2B21 #447B21 #21717B
square
#58217B #7B2B21 #447B21 #21717B
split-complementary
#58217B #717B21 #217B2B
monochromatic
#13071A #35144B #58217B #7B2EAB #9A48CE

Accessibility & contrast

On white

10.95
#58217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58217B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58217B#FFFFFF#000000##FFFFFF
##58217B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#0C3D79
Tritanopia (blue-blind)
#53354B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58217b;
/* rgb */ color: rgb(88, 33, 123);
/* oklch */ color: oklch(37.6% 0.147 308.9);
Tailwind
colors: {
  custom: {
    50: '#8b61a2',
    500: '#58217b',
    950: '#000000',
  },
}
SCSS
$custom: #58217b;
$custom-light: #8b61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#58217b",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 276.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37642,
    "c": 0.14748,
    "h": 308.9
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#58217B
secondary
#71AE4A
accent
#E14783
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58217B

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

Preview Lab → · Contrast checker → · Palette generator →

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