#58137D#58137D

#58137D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.165 H 309.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#58137D
RGBrgb(88, 19, 125)
HSLhsl(279, 74%, 28%)
HSVhsv(279, 85%, 49%)
CMYKcmyk(29.6%, 84.8%, 0%, 51%)
CIE-LABlab(23.74, 47.44, -44.70)
CIE-LCHlch(23.74, 65.18, 316.70°)
OKLaboklab(36.43% 0.1054 -0.127)
OKLCHoklch(36.43% 0.165 309.7)
XYZxyz(7.9583, 4.0213, 19.7550)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58137D #387D13
analogous
#23137D #58137D #7D136D
triadic
#58137D #7D5813 #137D58
tetradic
#58137D #7D2313 #387D13 #136D7D
square
#58137D #7D2313 #387D13 #136D7D
split-complementary
#58137D #6D7D13 #137D23
monochromatic
#13041B #330B48 #58137D #7D1BB2 #A02CDF

Accessibility & contrast

On white

11.64
#58137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#58137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58137D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58137D#FFFFFF#000000##FFFFFF
##58137D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#522F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58137d;
/* rgb */ color: rgb(88, 19, 125);
/* oklch */ color: oklch(36.4% 0.165 309.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ba3',
    500: '#58137d',
    950: '#000000',
  },
}
SCSS
$custom: #58137d;
$custom-light: #8c5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#58137d",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 279.057,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36425,
    "c": 0.16501,
    "h": 309.7
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#58137D
secondary
#64B339
accent
#F03878
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58137D

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

Preview Lab → · Contrast checker → · Palette generator →

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