#58229E#58229E

#58229E is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.184 H 297.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#58229E
RGBrgb(88, 34, 158)
HSLhsl(266, 65%, 38%)
HSVhsv(266, 78%, 62%)
CMYKcmyk(44.3%, 78.5%, 0%, 38%)
CIE-LABlab(28.61, 49.64, -57.26)
CIE-LCHlch(28.61, 75.78, 310.93°)
OKLaboklab(40.71% 0.0838 -0.164)
OKLCHoklch(40.71% 0.184 297.1)
XYZxyz(10.7665, 5.6872, 32.8716)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229E #689E22
analogous
#222A9E #58229E #96229E
triadic
#58229E #9E5822 #229E58
tetradic
#58229E #9E222A #689E22 #229E96
square
#58229E #9E222A #689E22 #229E96
split-complementary
#58229E #9E9622 #2A9E22
monochromatic
#200C39 #3C176C #58229E #742DD0 #955EDC

Accessibility & contrast

On white

9.83
#58229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#58229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58229E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229E#FFFFFF#000000##FFFFFF
##58229E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#45445F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58229e;
/* rgb */ color: rgb(88, 34, 158);
/* oklch */ color: oklch(40.7% 0.184 297.1);
Tailwind
colors: {
  custom: {
    50: '#8e64bc',
    500: '#58229e',
    950: '#000000',
  },
}
SCSS
$custom: #58229e;
$custom-light: #8e64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#58229e",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 266.129,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40711,
    "c": 0.18413,
    "h": 297.1
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#58229E
secondary
#94C15B
accent
#E8409F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229E

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

Preview Lab → · Contrast checker → · Palette generator →

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