#58137E#58137E

#58137E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.166 H 309.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#58137E
RGBrgb(88, 19, 126)
HSLhsl(279, 74%, 28%)
HSVhsv(279, 85%, 49%)
CMYKcmyk(30.2%, 84.9%, 0%, 50.6%)
CIE-LABlab(23.83, 47.66, -45.20)
CIE-LCHlch(23.83, 65.69, 316.52°)
OKLaboklab(36.51% 0.1051 -0.1284)
OKLCHoklch(36.51% 0.166 309.3)
XYZxyz(8.0225, 4.0470, 20.0931)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58137E #397E13
analogous
#23137E #58137E #7E136E
triadic
#58137E #7E5813 #137E58
tetradic
#58137E #7E2313 #397E13 #136E7E
square
#58137E #7E2313 #397E13 #136E7E
split-complementary
#58137E #6E7E13 #137E23
monochromatic
#13041B #330B49 #58137E #7D1BB3 #A02CDF

Accessibility & contrast

On white

11.61
#58137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#58137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58137E
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58137E#FFFFFF#000000##FFFFFF
##58137E1.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)
#003681
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#52304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58137e;
/* rgb */ color: rgb(88, 19, 126);
/* oklch */ color: oklch(36.5% 0.166 309.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ba4',
    500: '#58137e',
    950: '#000000',
  },
}
SCSS
$custom: #58137e;
$custom-light: #8c5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#58137e",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 278.692,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.16595,
    "h": 309.3
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#58137E
secondary
#65B439
accent
#F03779
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58137E

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

Preview Lab → · Contrast checker → · Palette generator →

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