#58137F#58137F

#58137F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.167 H 308.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#58137F
RGBrgb(88, 19, 127)
HSLhsl(278, 74%, 29%)
HSVhsv(278, 85%, 50%)
CMYKcmyk(30.7%, 85%, 0%, 50.2%)
CIE-LABlab(23.91, 47.89, -45.70)
CIE-LCHlch(23.91, 66.19, 316.34°)
OKLaboklab(36.6% 0.1048 -0.1299)
OKLCHoklch(36.6% 0.167 308.9)
XYZxyz(8.0873, 4.0729, 20.4347)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58137F #3A7F13
analogous
#22137F #58137F #7F1370
triadic
#58137F #7F5813 #137F58
tetradic
#58137F #7F2213 #3A7F13 #13707F
square
#58137F #7F2213 #3A7F13 #13707F
split-complementary
#58137F #707F13 #137F22
monochromatic
#12041B #330B4A #58137F #7D1BB4 #9F2DE0

Accessibility & contrast

On white

11.57
#58137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58137F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58137F#FFFFFF#000000##FFFFFF
##58137F1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#52304B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58137f;
/* rgb */ color: rgb(88, 19, 127);
/* oklch */ color: oklch(36.6% 0.167 308.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ba5',
    500: '#58137f',
    950: '#000000',
  },
}
SCSS
$custom: #58137f;
$custom-light: #8c5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#58137f",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 278.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36595,
    "c": 0.16691,
    "h": 308.9
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#58137F
secondary
#66B439
accent
#F1377A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58137F

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

Preview Lab → · Contrast checker → · Palette generator →

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