#58138A#58138A

#58138A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.177 H 304.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#58138A
RGBrgb(88, 19, 138)
HSLhsl(275, 76%, 31%)
HSVhsv(275, 86%, 54%)
CMYKcmyk(36.2%, 86.2%, 0%, 45.9%)
CIE-LABlab(24.88, 50.38, -51.04)
CIE-LCHlch(24.88, 71.71, 314.63°)
OKLaboklab(37.56% 0.1014 -0.1456)
OKLCHoklch(37.56% 0.177 304.9)
XYZxyz(8.8438, 4.3755, 24.4185)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58138A #458A13
analogous
#1C138A #58138A #8A1380
triadic
#58138A #8A5813 #138A58
tetradic
#58138A #8A1C13 #458A13 #13808A
square
#58138A #8A1C13 #458A13 #13808A
split-complementary
#58138A #808A13 #138A1C
monochromatic
#13041E #360C54 #58138A #7A1AC0 #9A34E3

Accessibility & contrast

On white

11.20
#58138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#58138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58138A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58138A#FFFFFF#000000##FFFFFF
##58138A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#4E3551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58138a;
/* rgb */ color: rgb(88, 19, 138);
/* oklch */ color: oklch(37.6% 0.177 304.9);
Tailwind
colors: {
  custom: {
    50: '#8d5cad',
    500: '#58138a',
    950: '#000000',
  },
}
SCSS
$custom: #58138a;
$custom-light: #8d5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#58138a",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 274.79,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.1774,
    "h": 304.9
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#58138A
secondary
#72BE3A
accent
#F23585
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58138A

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

Preview Lab → · Contrast checker → · Palette generator →

#58138A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva