#58228F#58228F

#58228F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.168 H 301.5°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#58228F
RGBrgb(88, 34, 143)
HSLhsl(270, 62%, 35%)
HSVhsv(270, 76%, 56%)
CMYKcmyk(38.5%, 76.2%, 0%, 43.9%)
CIE-LABlab(27.30, 45.83, -50.18)
CIE-LCHlch(27.30, 67.96, 312.40°)
OKLaboklab(39.39% 0.0877 -0.1432)
OKLCHoklch(39.39% 0.168 301.5)
XYZxyz(9.5533, 5.2019, 26.4820)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58228F #598F22
analogous
#22228F #58228F #8F228F
triadic
#58228F #8F5822 #228F58
tetradic
#58228F #8F2222 #598F22 #228F8F
square
#58228F #8F2222 #598F22 #228F8F
split-complementary
#58228F #8F8F22 #228F22
monochromatic
#1B0A2C #3A165E #58228F #762EC0 #9555D7

Accessibility & contrast

On white

10.29
#58228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#58228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58228F
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58228F#FFFFFF#000000##FFFFFF
##58228F1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#4C3E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58228f;
/* rgb */ color: rgb(88, 34, 143);
/* oklch */ color: oklch(39.4% 0.168 301.5);
Tailwind
colors: {
  custom: {
    50: '#8d63b1',
    500: '#58228f',
    950: '#000000',
  },
}
SCSS
$custom: #58228f;
$custom-light: #8d63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#58228f",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 269.725,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39391,
    "c": 0.16792,
    "h": 301.5
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#58228F
secondary
#87BA52
accent
#E54395
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #58228F

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

Preview Lab → · Contrast checker → · Palette generator →

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