#58228E#58228E

#58228E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.167 H 301.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#58228E
RGBrgb(88, 34, 142)
HSLhsl(270, 61%, 35%)
HSVhsv(270, 76%, 56%)
CMYKcmyk(38%, 76.1%, 0%, 44.3%)
CIE-LABlab(27.22, 45.57, -49.70)
CIE-LCHlch(27.22, 67.43, 312.52°)
OKLaboklab(39.31% 0.088 -0.1418)
OKLCHoklch(39.31% 0.167 301.8)
XYZxyz(9.4778, 5.1717, 26.0849)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58228E #588E22
analogous
#22228E #58228E #8E228E
triadic
#58228E #8E5822 #228E58
tetradic
#58228E #8E2222 #588E22 #228E8E
square
#58228E #8E2222 #588E22 #228E8E
split-complementary
#58228E #8E8E22 #228E22
monochromatic
#1B0A2B #39165D #58228E #772EBF #9554D6

Accessibility & contrast

On white

10.32
#58228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#58228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58228E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58228E#FFFFFF#000000##FFFFFF
##58228E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#4C3D56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58228e;
/* rgb */ color: rgb(88, 34, 142);
/* oklch */ color: oklch(39.3% 0.167 301.8);
Tailwind
colors: {
  custom: {
    50: '#8c63b0',
    500: '#58228e',
    950: '#000000',
  },
}
SCSS
$custom: #58228e;
$custom-light: #8c63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#58228e",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 270,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.16684,
    "h": 301.8
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#58228E
secondary
#86BA52
accent
#E44394
background
#F9F6FA
surface
#F1EBF5
border
#CBC6CF
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #58228E

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

Preview Lab → · Contrast checker → · Palette generator →

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