#58218E#58218E

#58218E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.168 H 302.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#58218E
RGBrgb(88, 33, 142)
HSLhsl(270, 62%, 34%)
HSVhsv(270, 77%, 56%)
CMYKcmyk(38%, 76.8%, 0%, 44.3%)
CIE-LABlab(27.06, 46.02, -49.96)
CIE-LCHlch(27.06, 67.92, 312.65°)
OKLaboklab(39.2% 0.0889 -0.1425)
OKLCHoklch(39.2% 0.168 302)
XYZxyz(9.4497, 5.1154, 26.0755)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218E #578E21
analogous
#21218E #58218E #8E218E
triadic
#58218E #8E5821 #218E58
tetradic
#58218E #8E2121 #578E21 #218E8E
square
#58218E #8E2121 #578E21 #218E8E
split-complementary
#58218E #8E8E21 #218E21
monochromatic
#1A0A2B #39155C #58218E #772DC0 #9552D7

Accessibility & contrast

On white

10.38
#58218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#58218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58218E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218E#FFFFFF#000000##FFFFFF
##58218E1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#4C3D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58218e;
/* rgb */ color: rgb(88, 33, 142);
/* oklch */ color: oklch(39.2% 0.168 302.0);
Tailwind
colors: {
  custom: {
    50: '#8d62b0',
    500: '#58218e',
    950: '#000000',
  },
}
SCSS
$custom: #58218e;
$custom-light: #8d62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58218e",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 270.275,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.16797,
    "h": 302
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#58218E
secondary
#85BA50
accent
#E54293
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #58218E

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

Preview Lab → · Contrast checker → · Palette generator →

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