#58157B#58157B

#58157B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.161 H 310.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#58157B
RGBrgb(88, 21, 123)
HSLhsl(279, 71%, 28%)
HSVhsv(279, 83%, 48%)
CMYKcmyk(28.5%, 82.9%, 0%, 51.8%)
CIE-LABlab(23.81, 46.32, -43.33)
CIE-LCHlch(23.81, 63.42, 316.91°)
OKLaboklab(36.42% 0.1043 -0.1229)
OKLCHoklch(36.42% 0.161 310.3)
XYZxyz(7.8671, 4.0413, 19.1007)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58157B #387B15
analogous
#25157B #58157B #7B156B
triadic
#58157B #7B5815 #157B58
tetradic
#58157B #7B2515 #387B15 #156B7B
square
#58157B #7B2515 #387B15 #156B7B
split-complementary
#58157B #6B7B15 #157B25
monochromatic
#13041A #330C47 #58157B #7D1EAF #A02FDB

Accessibility & contrast

On white

11.61
#58157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#58157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58157B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58157B#FFFFFF#000000##FFFFFF
##58157B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#532F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58157b;
/* rgb */ color: rgb(88, 21, 123);
/* oklch */ color: oklch(36.4% 0.161 310.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ca2',
    500: '#58157b',
    950: '#000000',
  },
}
SCSS
$custom: #58157b;
$custom-light: #8b5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#58157b",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 279.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.16124,
    "h": 310.3
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#58157B
secondary
#64B03B
accent
#EE3A78
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58157B

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

Preview Lab → · Contrast checker → · Palette generator →

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