#58229F#58229F

#58229F is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.185 H 296.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#58229F
RGBrgb(88, 34, 159)
HSLhsl(266, 65%, 38%)
HSVhsv(266, 79%, 62%)
CMYKcmyk(44.7%, 78.6%, 0%, 37.6%)
CIE-LABlab(28.70, 49.90, -57.72)
CIE-LCHlch(28.70, 76.30, 310.85°)
OKLaboklab(40.8% 0.0835 -0.1653)
OKLCHoklch(40.8% 0.185 296.8)
XYZxyz(10.8529, 5.7217, 33.3268)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229F #699F22
analogous
#222A9F #58229F #96229F
triadic
#58229F #9F5822 #229F58
tetradic
#58229F #9F222A #699F22 #229F96
square
#58229F #9F222A #699F22 #229F96
split-complementary
#58229F #9F9622 #2A9F22
monochromatic
#200C3A #3C176D #58229F #742DD1 #955FDD

Accessibility & contrast

On white

9.79
#58229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58229F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229F#FFFFFF#000000##FFFFFF
##58229F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#454460
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58229f;
/* rgb */ color: rgb(88, 34, 159);
/* oklch */ color: oklch(40.8% 0.185 296.8);
Tailwind
colors: {
  custom: {
    50: '#8e64bc',
    500: '#58229f',
    950: '#000000',
  },
}
SCSS
$custom: #58229f;
$custom-light: #8e64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#58229f",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 265.92,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.1852,
    "h": 296.8
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#58229F
secondary
#95C15B
accent
#E8409F
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229F

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

Preview Lab → · Contrast checker → · Palette generator →

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