#58239C#58239C

#58239C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.181 H 297.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#58239C
RGBrgb(88, 35, 156)
HSLhsl(266, 63%, 37%)
HSVhsv(266, 78%, 61%)
CMYKcmyk(43.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(28.58, 48.69, -56.08)
CIE-LCHlch(28.58, 74.27, 310.97°)
OKLaboklab(40.64% 0.0835 -0.1605)
OKLCHoklch(40.64% 0.181 297.5)
XYZxyz(10.6247, 5.6769, 31.9820)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58239C #679C23
analogous
#232A9C #58239C #95239C
triadic
#58239C #9C5823 #239C58
tetradic
#58239C #9C232A #679C23 #239C95
square
#58239C #9C232A #679C23 #239C95
split-complementary
#58239C #9C9523 #2A9C23
monochromatic
#200D38 #3C186A #58239C #742ECE #955EDB

Accessibility & contrast

On white

9.83
#58239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#58239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58239C
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58239C#FFFFFF#000000##FFFFFF
##58239C1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58239c;
/* rgb */ color: rgb(88, 35, 156);
/* oklch */ color: oklch(40.6% 0.181 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e64ba',
    500: '#58239c',
    950: '#000000',
  },
}
SCSS
$custom: #58239c;
$custom-light: #8e64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#58239c",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 266.281,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40638,
    "c": 0.18095,
    "h": 297.5
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#58239C
secondary
#94C05B
accent
#E6419E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58239C

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

Preview Lab → · Contrast checker → · Palette generator →

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