#58158F#58158F

#58158F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.181 H 303.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#58158F
RGBrgb(88, 21, 143)
HSLhsl(273, 74%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(38.5%, 85.3%, 0%, 43.9%)
CIE-LABlab(25.55, 50.91, -53.05)
CIE-LCHlch(25.55, 73.52, 313.82°)
OKLaboklab(38.17% 0.0983 -0.1515)
OKLCHoklch(38.17% 0.181 303)
XYZxyz(9.2494, 4.5942, 26.3808)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58158F #4C8F15
analogous
#1B158F #58158F #8F1589
triadic
#58158F #8F5815 #158F58
tetradic
#58158F #8F1B15 #4C8F15 #15898F
square
#58158F #8F1B15 #4C8F15 #15898F
split-complementary
#58158F #898F15 #158F1B
monochromatic
#160524 #370D5A #58158F #791DC4 #973CE2

Accessibility & contrast

On white

10.94
#58158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#58158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58158F
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58158F#FFFFFF#000000##FFFFFF
##58158F1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4C3854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58158f;
/* rgb */ color: rgb(88, 21, 143);
/* oklch */ color: oklch(38.2% 0.181 303.0);
Tailwind
colors: {
  custom: {
    50: '#8d5db1',
    500: '#58158f',
    950: '#000000',
  },
}
SCSS
$custom: #58158f;
$custom-light: #8d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#58158f",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 272.951,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.18064,
    "h": 303
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#58158F
secondary
#79C23E
accent
#F1378B
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58158F

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

Preview Lab → · Contrast checker → · Palette generator →

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