#58137B#58137B

#58137B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.163 H 310.5°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#58137B
RGBrgb(88, 19, 123)
HSLhsl(280, 73%, 28%)
HSVhsv(280, 85%, 48%)
CMYKcmyk(28.5%, 84.6%, 0%, 51.8%)
CIE-LABlab(23.57, 47.00, -43.70)
CIE-LCHlch(23.57, 64.18, 317.08°)
OKLaboklab(36.26% 0.1059 -0.124)
OKLCHoklch(36.26% 0.163 310.5)
XYZxyz(7.8318, 3.9707, 19.0889)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58137B #367B13
analogous
#24137B #58137B #7B136A
triadic
#58137B #7B5813 #137B58
tetradic
#58137B #7B2413 #367B13 #136A7B
square
#58137B #7B2413 #367B13 #136A7B
split-complementary
#58137B #6A7B13 #137B24
monochromatic
#13041B #320B46 #58137B #7E1BB0 #A22ADE

Accessibility & contrast

On white

11.70
#58137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#58137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58137B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58137B#FFFFFF#000000##FFFFFF
##58137B1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#532E48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58137b;
/* rgb */ color: rgb(88, 19, 123);
/* oklch */ color: oklch(36.3% 0.163 310.5);
Tailwind
colors: {
  custom: {
    50: '#8c5ba2',
    500: '#58137b',
    950: '#000000',
  },
}
SCSS
$custom: #58137b;
$custom-light: #8c5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#58137b",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 279.808,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36256,
    "c": 0.16311,
    "h": 310.5
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#58137B
secondary
#61B139
accent
#F03876
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58137B

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

Preview Lab → · Contrast checker → · Palette generator →

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