#58229A#58229A

#58229A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.180 H 298.2°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#58229A
RGBrgb(88, 34, 154)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 60%)
CMYKcmyk(42.9%, 77.9%, 0%, 39.6%)
CIE-LABlab(28.25, 48.62, -55.40)
CIE-LCHlch(28.25, 73.71, 311.27°)
OKLaboklab(40.35% 0.0849 -0.1585)
OKLCHoklch(40.35% 0.18 298.2)
XYZxyz(10.4278, 5.5517, 31.0878)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229A #649A22
analogous
#22289A #58229A #94229A
triadic
#58229A #9A5822 #229A58
tetradic
#58229A #9A2228 #649A22 #229A94
square
#58229A #9A2228 #649A22 #229A94
split-complementary
#58229A #9A9422 #289A22
monochromatic
#1F0C36 #3B1768 #58229A #752DCC #955BDB

Accessibility & contrast

On white

9.95
#58229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#58229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58229A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229A#FFFFFF#000000##FFFFFF
##58229A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#47425D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58229a;
/* rgb */ color: rgb(88, 34, 154);
/* oklch */ color: oklch(40.4% 0.180 298.2);
Tailwind
colors: {
  custom: {
    50: '#8e63b9',
    500: '#58229a',
    950: '#000000',
  },
}
SCSS
$custom: #58229a;
$custom-light: #8e63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58229a",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 267,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.17982,
    "h": 298.2
  },
  "luminance": 0.05552
}

Semantic roles & 50–950 ramp

primary
#58229A
secondary
#91BF58
accent
#E7419C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229A

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

Preview Lab → · Contrast checker → · Palette generator →

#58229A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva