#58239D#58239D

#58239D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.182 H 297.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#58239D
RGBrgb(88, 35, 157)
HSLhsl(266, 64%, 38%)
HSVhsv(266, 78%, 62%)
CMYKcmyk(43.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(28.67, 48.95, -56.55)
CIE-LCHlch(28.67, 74.79, 310.88°)
OKLaboklab(40.73% 0.0832 -0.1619)
OKLCHoklch(40.73% 0.182 297.2)
XYZxyz(10.7097, 5.7109, 32.4298)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58239D #689D23
analogous
#232B9D #58239D #95239D
triadic
#58239D #9D5823 #239D58
tetradic
#58239D #9D232B #689D23 #239D95
square
#58239D #9D232B #689D23 #239D95
split-complementary
#58239D #9D9523 #2B9D23
monochromatic
#200D39 #3C186B #58239D #742ECF #955FDB

Accessibility & contrast

On white

9.80
#58239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58239D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58239D#FFFFFF#000000##FFFFFF
##58239D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#46445F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58239d;
/* rgb */ color: rgb(88, 35, 157);
/* oklch */ color: oklch(40.7% 0.182 297.2);
Tailwind
colors: {
  custom: {
    50: '#8e64bb',
    500: '#58239d',
    950: '#000000',
  },
}
SCSS
$custom: #58239d;
$custom-light: #8e64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#58239d",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 266.066,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.18203,
    "h": 297.2
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#58239D
secondary
#94C05C
accent
#E7419F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58239D

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

Preview Lab → · Contrast checker → · Palette generator →

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