#58157D#58157D

#58157D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.163 H 309.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#58157D
RGBrgb(88, 21, 125)
HSLhsl(279, 71%, 29%)
HSVhsv(279, 83%, 49%)
CMYKcmyk(29.6%, 83.2%, 0%, 51%)
CIE-LABlab(23.97, 46.77, -44.33)
CIE-LCHlch(23.97, 64.44, 316.53°)
OKLaboklab(36.59% 0.1038 -0.1259)
OKLCHoklch(36.59% 0.163 309.5)
XYZxyz(7.9936, 4.0919, 19.7668)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58157D #3A7D15
analogous
#24157D #58157D #7D156E
triadic
#58157D #7D5815 #157D58
tetradic
#58157D #7D2415 #3A7D15 #156E7D
square
#58157D #7D2415 #3A7D15 #156E7D
split-complementary
#58157D #6E7D15 #157D24
monochromatic
#12041A #330C49 #58157D #7D1EB1 #9F30DC

Accessibility & contrast

On white

11.55
#58157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#58157D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58157D
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58157D#FFFFFF#000000##FFFFFF
##58157D1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#52304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58157d;
/* rgb */ color: rgb(88, 21, 125);
/* oklch */ color: oklch(36.6% 0.163 309.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ca3',
    500: '#58157d',
    950: '#000000',
  },
}
SCSS
$custom: #58157d;
$custom-light: #8c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#58157d",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 278.654,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36586,
    "c": 0.16317,
    "h": 309.5
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#58157D
secondary
#66B23C
accent
#EE3A7A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58157D

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

Preview Lab → · Contrast checker → · Palette generator →

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