#58229D#58229D

#58229D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.183 H 297.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#58229D
RGBrgb(88, 34, 157)
HSLhsl(266, 64%, 37%)
HSVhsv(266, 78%, 62%)
CMYKcmyk(43.9%, 78.3%, 0%, 38.4%)
CIE-LABlab(28.52, 49.39, -56.79)
CIE-LCHlch(28.52, 75.26, 311.01°)
OKLaboklab(40.62% 0.0841 -0.1626)
OKLCHoklch(40.62% 0.183 297.3)
XYZxyz(10.6807, 5.6529, 32.4201)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229D #679D22
analogous
#222A9D #58229D #95229D
triadic
#58229D #9D5822 #229D58
tetradic
#58229D #9D222A #679D22 #229D95
square
#58229D #9D222A #679D22 #229D95
split-complementary
#58229D #9D9522 #2A9D22
monochromatic
#200C38 #3C176B #58229D #742DCF #955DDC

Accessibility & contrast

On white

9.86
#58229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#58229D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58229D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229D#FFFFFF#000000##FFFFFF
##58229D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#46445F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58229d;
/* rgb */ color: rgb(88, 34, 157);
/* oklch */ color: oklch(40.6% 0.183 297.3);
Tailwind
colors: {
  custom: {
    50: '#8e64bb',
    500: '#58229d',
    950: '#000000',
  },
}
SCSS
$custom: #58229d;
$custom-light: #8e64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#58229d",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 266.341,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40621,
    "c": 0.18305,
    "h": 297.3
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#58229D
secondary
#94C15A
accent
#E7409E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229D

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

Preview Lab → · Contrast checker → · Palette generator →

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