#58158E#58158E

#58158E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.180 H 303.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#58158E
RGBrgb(88, 21, 142)
HSLhsl(273, 74%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(38%, 85.2%, 0%, 44.3%)
CIE-LABlab(25.45, 50.67, -52.58)
CIE-LCHlch(25.45, 73.02, 313.94°)
OKLaboklab(38.07% 0.0987 -0.1501)
OKLCHoklch(38.07% 0.18 303.3)
XYZxyz(9.1740, 4.5640, 25.9836)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58158E #4B8E15
analogous
#1B158E #58158E #8E1588
triadic
#58158E #8E5815 #158E58
tetradic
#58158E #8E1B15 #4B8E15 #15888E
square
#58158E #8E1B15 #4B8E15 #15888E
split-complementary
#58158E #888E15 #158E1B
monochromatic
#160523 #370D59 #58158E #791DC3 #983BE2

Accessibility & contrast

On white

10.98
#58158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58158E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58158E#FFFFFF#000000##FFFFFF
##58158E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#4D3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58158e;
/* rgb */ color: rgb(88, 21, 142);
/* oklch */ color: oklch(38.1% 0.180 303.3);
Tailwind
colors: {
  custom: {
    50: '#8d5db0',
    500: '#58158e',
    950: '#000000',
  },
}
SCSS
$custom: #58158e;
$custom-light: #8d5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#58158e",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 273.223,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38074,
    "c": 0.17966,
    "h": 303.3
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#58158E
secondary
#78C23D
accent
#F1378A
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58158E

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

Preview Lab → · Contrast checker → · Palette generator →

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