#58218B#58218B

#58218B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.165 H 302.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#58218B
RGBrgb(88, 33, 139)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(36.7%, 76.3%, 0%, 45.5%)
CIE-LABlab(26.81, 45.27, -48.50)
CIE-LCHlch(26.81, 66.35, 313.03°)
OKLaboklab(38.94% 0.0896 -0.1383)
OKLCHoklch(38.94% 0.165 302.9)
XYZxyz(9.2275, 5.0265, 24.9052)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218B #548B21
analogous
#23218B #58218B #8B2189
triadic
#58218B #8B5821 #218B58
tetradic
#58218B #8B2321 #548B21 #21898B
square
#58218B #8B2321 #548B21 #21898B
split-complementary
#58218B #898B21 #218B23
monochromatic
#190A28 #39155A #58218B #772DBC #9651D6

Accessibility & contrast

On white

10.47
#58218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#58218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58218B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218B#FFFFFF#000000##FFFFFF
##58218B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#4E3C54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58218b;
/* rgb */ color: rgb(88, 33, 139);
/* oklch */ color: oklch(38.9% 0.165 302.9);
Tailwind
colors: {
  custom: {
    50: '#8c62ae',
    500: '#58218b',
    950: '#000000',
  },
}
SCSS
$custom: #58218b;
$custom-light: #8c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58218b",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 271.132,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.16475,
    "h": 302.9
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#58218B
secondary
#82B94F
accent
#E54391
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #58218B

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

Preview Lab → · Contrast checker → · Palette generator →

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