#58239F#58239F

#58239F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.184 H 296.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#58239F
RGBrgb(88, 35, 159)
HSLhsl(266, 64%, 38%)
HSVhsv(266, 78%, 62%)
CMYKcmyk(44.7%, 78%, 0%, 37.6%)
CIE-LABlab(28.85, 49.47, -57.47)
CIE-LCHlch(28.85, 75.83, 310.72°)
OKLaboklab(40.91% 0.0827 -0.1646)
OKLCHoklch(40.91% 0.184 296.7)
XYZxyz(10.8819, 5.7797, 33.3364)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58239F #6A9F23
analogous
#232C9F #58239F #96239F
triadic
#58239F #9F5823 #239F58
tetradic
#58239F #9F232C #6A9F23 #239F96
square
#58239F #9F232C #6A9F23 #239F96
split-complementary
#58239F #9F9623 #2C9F23
monochromatic
#200D3B #3C186D #58239F #742ED1 #9560DC

Accessibility & contrast

On white

9.74
#58239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#58239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58239F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58239F#FFFFFF#000000##FFFFFF
##58239F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#454560
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #58239f;
/* rgb */ color: rgb(88, 35, 159);
/* oklch */ color: oklch(40.9% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#8e64bc',
    500: '#58239f',
    950: '#000000',
  },
}
SCSS
$custom: #58239f;
$custom-light: #8e64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#58239f",
  "rgb": {
    "r": 88,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 265.645,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.18419,
    "h": 296.7
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#58239F
secondary
#96C15D
accent
#E741A0
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #58239F

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

Preview Lab → · Contrast checker → · Palette generator →

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