#58229C#58229C

#58229C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.182 H 297.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#58229C
RGBrgb(88, 34, 156)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 61%)
CMYKcmyk(43.6%, 78.2%, 0%, 38.8%)
CIE-LABlab(28.43, 49.13, -56.33)
CIE-LCHlch(28.43, 74.75, 311.10°)
OKLaboklab(40.53% 0.0843 -0.1612)
OKLCHoklch(40.53% 0.182 297.6)
XYZxyz(10.5957, 5.6189, 31.9723)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229C #669C22
analogous
#22299C #58229C #95229C
triadic
#58229C #9C5822 #229C58
tetradic
#58229C #9C2229 #669C22 #229C95
square
#58229C #9C2229 #669C22 #229C95
split-complementary
#58229C #9C9522 #299C22
monochromatic
#1F0C38 #3C176A #58229C #742DCE #955DDC

Accessibility & contrast

On white

9.89
#58229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#58229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58229C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229C#FFFFFF#000000##FFFFFF
##58229C1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#46435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58229c;
/* rgb */ color: rgb(88, 34, 156);
/* oklch */ color: oklch(40.5% 0.182 297.6);
Tailwind
colors: {
  custom: {
    50: '#8e64ba',
    500: '#58229c',
    950: '#000000',
  },
}
SCSS
$custom: #58229c;
$custom-light: #8e64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#58229c",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 266.557,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40531,
    "c": 0.18197,
    "h": 297.6
  },
  "luminance": 0.05619
}

Semantic roles & 50–950 ramp

primary
#58229C
secondary
#93C05A
accent
#E7419D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229C

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

Preview Lab → · Contrast checker → · Palette generator →

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