#58218F#58218F

#58218F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.169 H 301.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#58218F
RGBrgb(88, 33, 143)
HSLhsl(270, 63%, 35%)
HSVhsv(270, 77%, 56%)
CMYKcmyk(38.5%, 76.9%, 0%, 43.9%)
CIE-LABlab(27.15, 46.27, -50.44)
CIE-LCHlch(27.15, 68.45, 312.53°)
OKLaboklab(39.28% 0.0887 -0.1439)
OKLCHoklch(39.28% 0.169 301.6)
XYZxyz(9.5251, 5.1455, 26.4726)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58218F #588F21
analogous
#21218F #58218F #8F218F
triadic
#58218F #8F5821 #218F58
tetradic
#58218F #8F2121 #588F21 #218F8F
square
#58218F #8F2121 #588F21 #218F8F
split-complementary
#58218F #8F8F21 #218F21
monochromatic
#1B0A2C #39165D #58218F #772CC1 #9553D7

Accessibility & contrast

On white

10.35
#58218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#58218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58218F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58218F#FFFFFF#000000##FFFFFF
##58218F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4C3D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58218f;
/* rgb */ color: rgb(88, 33, 143);
/* oklch */ color: oklch(39.3% 0.169 301.6);
Tailwind
colors: {
  custom: {
    50: '#8d62b1',
    500: '#58218f',
    950: '#000000',
  },
}
SCSS
$custom: #58218f;
$custom-light: #8d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58218f",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.16905,
    "h": 301.6
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#58218F
secondary
#86BB51
accent
#E64294
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #58218F

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

Preview Lab → · Contrast checker → · Palette generator →

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