#58218D#58218D

#58218D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.167 H 302.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#58218D
RGBrgb(88, 33, 141)
HSLhsl(271, 62%, 34%)
HSVhsv(271, 77%, 55%)
CMYKcmyk(37.6%, 76.6%, 0%, 44.7%)
CIE-LABlab(26.98, 45.77, -49.47)
CIE-LCHlch(26.98, 67.40, 312.77°)
OKLaboklab(39.11% 0.0891 -0.1411)
OKLCHoklch(39.11% 0.167 302.3)
XYZxyz(9.3749, 5.0855, 25.6818)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218D #568D21
analogous
#22218D #58218D #8D218C
triadic
#58218D #8D5821 #218D58
tetradic
#58218D #8D2221 #568D21 #218C8D
square
#58218D #8D2221 #568D21 #218C8D
split-complementary
#58218D #8C8D21 #218D22
monochromatic
#1A0A2A #39155B #58218D #772DBF #9552D6

Accessibility & contrast

On white

10.41
#58218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58218D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218D#FFFFFF#000000##FFFFFF
##58218D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58218d;
/* rgb */ color: rgb(88, 33, 141);
/* oklch */ color: oklch(39.1% 0.167 302.3);
Tailwind
colors: {
  custom: {
    50: '#8c62af',
    500: '#58218d',
    950: '#000000',
  },
}
SCSS
$custom: #58218d;
$custom-light: #8c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#58218d",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 270.556,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.1669,
    "h": 302.3
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#58218D
secondary
#84BA50
accent
#E54392
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #58218D

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

Preview Lab → · Contrast checker → · Palette generator →

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