#58188D#58188D

#58188D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.176 H 303.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#58188D
RGBrgb(88, 24, 141)
HSLhsl(273, 71%, 32%)
HSVhsv(273, 83%, 55%)
CMYKcmyk(37.6%, 83%, 0%, 44.7%)
CIE-LABlab(25.72, 49.41, -51.53)
CIE-LCHlch(25.72, 71.39, 313.80°)
OKLaboklab(38.23% 0.0968 -0.1471)
OKLCHoklch(38.23% 0.176 303.4)
XYZxyz(9.1577, 4.6511, 25.6094)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188D #4D8D18
analogous
#1E188D #58188D #8D1887
triadic
#58188D #8D5818 #188D58
tetradic
#58188D #8D1E18 #4D8D18 #18878D
square
#58188D #8D1E18 #4D8D18 #18878D
split-complementary
#58188D #878D18 #188D1E
monochromatic
#170624 #370F59 #58188D #7921C1 #9741DF

Accessibility & contrast

On white

10.88
#58188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58188D
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188D#FFFFFF#000000##FFFFFF
##58188D1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#4D3854
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58188d;
/* rgb */ color: rgb(88, 24, 141);
/* oklch */ color: oklch(38.2% 0.176 303.4);
Tailwind
colors: {
  custom: {
    50: '#8d5eaf',
    500: '#58188d',
    950: '#000000',
  },
}
SCSS
$custom: #58188d;
$custom-light: #8d5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#58188d",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 272.821,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38228,
    "c": 0.1761,
    "h": 303.4
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#58188D
secondary
#7ABF42
accent
#EE3A8B
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58188D

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

Preview Lab → · Contrast checker → · Palette generator →

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