#58218C#58218C

#58218C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.166 H 302.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#58218C
RGBrgb(88, 33, 140)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 76%, 55%)
CMYKcmyk(37.1%, 76.4%, 0%, 45.1%)
CIE-LABlab(26.89, 45.52, -48.99)
CIE-LCHlch(26.89, 66.87, 312.90°)
OKLaboklab(39.03% 0.0894 -0.1397)
OKLCHoklch(39.03% 0.166 302.6)
XYZxyz(9.3009, 5.0559, 25.2917)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218C #558C21
analogous
#22218C #58218C #8C218B
triadic
#58218C #8C5821 #218C58
tetradic
#58218C #8C2221 #558C21 #218B8C
square
#58218C #8C2221 #558C21 #218B8C
split-complementary
#58218C #8B8C21 #218C22
monochromatic
#1A0A29 #39155A #58218C #772DBE #9651D6

Accessibility & contrast

On white

10.44
#58218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58218C
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218C#FFFFFF#000000##FFFFFF
##58218C1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#4D3C55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58218c;
/* rgb */ color: rgb(88, 33, 140);
/* oklch */ color: oklch(39.0% 0.166 302.6);
Tailwind
colors: {
  custom: {
    50: '#8c62ae',
    500: '#58218c',
    950: '#000000',
  },
}
SCSS
$custom: #58218c;
$custom-light: #8c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#58218c",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 270.841,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39025,
    "c": 0.16582,
    "h": 302.6
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#58218C
secondary
#83B94F
accent
#E54392
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #58218C

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

Preview Lab → · Contrast checker → · Palette generator →

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