#58239A#58239A

#58239A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.179 H 298.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#58239A
RGBrgb(88, 35, 154)
HSLhsl(267, 63%, 37%)
HSVhsv(267, 77%, 60%)
CMYKcmyk(42.9%, 77.3%, 0%, 39.6%)
CIE-LABlab(28.41, 48.18, -55.15)
CIE-LCHlch(28.41, 73.23, 311.14°)
OKLaboklab(40.46% 0.084 -0.1578)
OKLCHoklch(40.46% 0.179 298)
XYZxyz(10.4568, 5.6097, 31.0974)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58239A #659A23
analogous
#23299A #58239A #94239A
triadic
#58239A #9A5823 #239A58
tetradic
#58239A #9A2329 #659A23 #239A94
square
#58239A #9A2329 #659A23 #239A94
split-complementary
#58239A #9A9423 #299A23
monochromatic
#1F0C36 #3C1868 #58239A #742ECC #955DDA

Accessibility & contrast

On white

9.90
#58239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#58239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58239A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58239A#FFFFFF#000000##FFFFFF
##58239A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58239a;
/* rgb */ color: rgb(88, 35, 154);
/* oklch */ color: oklch(40.5% 0.179 298.0);
Tailwind
colors: {
  custom: {
    50: '#8e64b9',
    500: '#58239a',
    950: '#000000',
  },
}
SCSS
$custom: #58239a;
$custom-light: #8e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58239a",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 266.723,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.17877,
    "h": 298
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#58239A
secondary
#92BF5A
accent
#E6429D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58239A

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

Preview Lab → · Contrast checker → · Palette generator →

#58239A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva