#58218A#58218A

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

Color values

HEX#58218A
RGBrgb(88, 33, 138)
HSLhsl(271, 61%, 34%)
HSVhsv(271, 76%, 54%)
CMYKcmyk(36.2%, 76.1%, 0%, 45.9%)
CIE-LABlab(26.73, 45.03, -48.01)
CIE-LCHlch(26.73, 65.82, 313.16°)
OKLaboklab(38.86% 0.0898 -0.1368)
OKLCHoklch(38.86% 0.164 303.3)
XYZxyz(9.1547, 4.9974, 24.5221)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218A #538A21
analogous
#23218A #58218A #8A2187
triadic
#58218A #8A5821 #218A58
tetradic
#58218A #8A2321 #538A21 #21878A
square
#58218A #8A2321 #538A21 #21878A
split-complementary
#58218A #878A21 #218A23
monochromatic
#190927 #391559 #58218A #772DBB #9650D5

Accessibility & contrast

On white

10.50
#58218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#58218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58218A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218A#FFFFFF#000000##FFFFFF
##58218A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#4E3B54
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #58218a;
/* rgb */ color: rgb(88, 33, 138);
/* oklch */ color: oklch(38.9% 0.164 303.3);
Tailwind
colors: {
  custom: {
    50: '#8c62ad',
    500: '#58218a',
    950: '#000000',
  },
}
SCSS
$custom: #58218a;
$custom-light: #8c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#58218a",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 271.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.16367,
    "h": 303.3
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#58218A
secondary
#81B94E
accent
#E54390
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #58218A

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

Preview Lab → · Contrast checker → · Palette generator →

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