#58158D#58158D

#58158D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.179 H 303.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#58158D
RGBrgb(88, 21, 141)
HSLhsl(274, 74%, 32%)
HSVhsv(274, 85%, 55%)
CMYKcmyk(37.6%, 85.1%, 0%, 44.7%)
CIE-LABlab(25.36, 50.44, -52.11)
CIE-LCHlch(25.36, 72.52, 314.07°)
OKLaboklab(37.98% 0.099 -0.1487)
OKLCHoklch(37.98% 0.179 303.7)
XYZxyz(9.0993, 4.5341, 25.5899)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58158D #4A8D15
analogous
#1C158D #58158D #8D1586
triadic
#58158D #8D5815 #158D58
tetradic
#58158D #8D1C15 #4A8D15 #15868D
square
#58158D #8D1C15 #4A8D15 #15868D
split-complementary
#58158D #868D15 #158D1C
monochromatic
#160522 #370D58 #58158D #791DC2 #983BE2

Accessibility & contrast

On white

11.01
#58158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#58158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58158D
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58158D#FFFFFF#000000##FFFFFF
##58158D1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#4D3753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58158d;
/* rgb */ color: rgb(88, 21, 141);
/* oklch */ color: oklch(38.0% 0.179 303.7);
Tailwind
colors: {
  custom: {
    50: '#8d5daf',
    500: '#58158d',
    950: '#000000',
  },
}
SCSS
$custom: #58158d;
$custom-light: #8d5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#58158d",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 273.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37984,
    "c": 0.17869,
    "h": 303.7
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#58158D
secondary
#77C13D
accent
#F13789
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58158D

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

Preview Lab → · Contrast checker → · Palette generator →

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