#58239B#58239B

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

Color values

HEX#58239B
RGBrgb(88, 35, 155)
HSLhsl(267, 63%, 37%)
HSVhsv(267, 77%, 61%)
CMYKcmyk(43.2%, 77.4%, 0%, 39.2%)
CIE-LABlab(28.49, 48.44, -55.62)
CIE-LCHlch(28.49, 73.75, 311.05°)
OKLaboklab(40.55% 0.0838 -0.1592)
OKLCHoklch(40.55% 0.18 297.8)
XYZxyz(10.5404, 5.6431, 31.5379)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58239B #669B23
analogous
#232A9B #58239B #94239B
triadic
#58239B #9B5823 #239B58
tetradic
#58239B #9B232A #669B23 #239B94
square
#58239B #9B232A #669B23 #239B94
split-complementary
#58239B #9B9423 #2A9B23
monochromatic
#1F0C37 #3C1869 #58239B #742ECD #955EDB

Accessibility & contrast

On white

9.87
#58239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#58239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58239B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58239B#FFFFFF#000000##FFFFFF
##58239B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58239b;
/* rgb */ color: rgb(88, 35, 155);
/* oklch */ color: oklch(40.5% 0.180 297.8);
Tailwind
colors: {
  custom: {
    50: '#8e64b9',
    500: '#58239b',
    950: '#000000',
  },
}
SCSS
$custom: #58239b;
$custom-light: #8e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#58239b",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 266.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.17986,
    "h": 297.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#58239B
secondary
#93BF5A
accent
#E6429E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58239B

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

Preview Lab → · Contrast checker → · Palette generator →

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