#58219D#58219D

#58219D is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.184 H 297.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#58219D
RGBrgb(88, 33, 157)
HSLhsl(267, 65%, 37%)
HSVhsv(267, 79%, 62%)
CMYKcmyk(43.9%, 79%, 0%, 38.4%)
CIE-LABlab(28.37, 49.82, -57.04)
CIE-LCHlch(28.37, 75.73, 311.13°)
OKLaboklab(40.52% 0.0849 -0.1633)
OKLCHoklch(40.52% 0.184 297.5)
XYZxyz(10.6526, 5.5965, 32.4107)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58219D #669D21
analogous
#21289D #58219D #96219D
triadic
#58219D #9D5821 #219D58
tetradic
#58219D #9D2128 #669D21 #219D96
square
#58219D #9D2128 #669D21 #219D96
split-complementary
#58219D #9D9621 #289D21
monochromatic
#1F0C38 #3C166A #58219D #742CD0 #955CDD

Accessibility & contrast

On white

9.91
#58219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#58219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58219D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58219D#FFFFFF#000000##FFFFFF
##58219D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#46435F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58219d;
/* rgb */ color: rgb(88, 33, 157);
/* oklch */ color: oklch(40.5% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e63bb',
    500: '#58219d',
    950: '#000000',
  },
}
SCSS
$custom: #58219d;
$custom-light: #8e63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#58219d",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 266.613,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40517,
    "c": 0.18405,
    "h": 297.5
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#58219D
secondary
#93C159
accent
#E8409D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58219D

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

Preview Lab → · Contrast checker → · Palette generator →

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