#58229B#58229B

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

Color values

HEX#58229B
RGBrgb(88, 34, 155)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 61%)
CMYKcmyk(43.2%, 78.1%, 0%, 39.2%)
CIE-LABlab(28.34, 48.88, -55.87)
CIE-LCHlch(28.34, 74.23, 311.18°)
OKLaboklab(40.44% 0.0846 -0.1599)
OKLCHoklch(40.44% 0.181 297.9)
XYZxyz(10.5114, 5.5851, 31.5282)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58229B #659B22
analogous
#22299B #58229B #95229B
triadic
#58229B #9B5822 #229B58
tetradic
#58229B #9B2229 #659B22 #229B95
square
#58229B #9B2229 #659B22 #229B95
split-complementary
#58229B #9B9522 #299B22
monochromatic
#1F0C37 #3C1769 #58229B #742DCD #955CDB

Accessibility & contrast

On white

9.92
#58229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58229B
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58229B#FFFFFF#000000##FFFFFF
##58229B1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#47435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #58229b;
/* rgb */ color: rgb(88, 34, 155);
/* oklch */ color: oklch(40.4% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#8e64b9',
    500: '#58229b',
    950: '#000000',
  },
}
SCSS
$custom: #58229b;
$custom-light: #8e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58229b",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 266.777,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40441,
    "c": 0.1809,
    "h": 297.9
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#58229B
secondary
#92C059
accent
#E7419D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58229B

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

Preview Lab → · Contrast checker → · Palette generator →

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