#58188B#58188B

#58188B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.174 H 304.0°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#58188B
RGBrgb(88, 24, 139)
HSLhsl(273, 71%, 32%)
HSVhsv(273, 83%, 55%)
CMYKcmyk(36.7%, 82.7%, 0%, 45.5%)
CIE-LABlab(25.54, 48.93, -50.57)
CIE-LCHlch(25.54, 70.37, 314.06°)
OKLaboklab(38.05% 0.0975 -0.1443)
OKLCHoklch(38.05% 0.174 304)
XYZxyz(9.0103, 4.5921, 24.8328)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188B #4B8B18
analogous
#1E188B #58188B #8B1885
triadic
#58188B #8B5818 #188B58
tetradic
#58188B #8B1E18 #4B8B18 #18858B
square
#58188B #8B1E18 #4B8B18 #18858B
split-complementary
#58188B #858B18 #188B1E
monochromatic
#160623 #370F57 #58188B #7921BF #983FDE

Accessibility & contrast

On white

10.95
#58188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#58188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58188B
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188B#FFFFFF#000000##FFFFFF
##58188B1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#4E3852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58188b;
/* rgb */ color: rgb(88, 24, 139);
/* oklch */ color: oklch(38.0% 0.174 304.0);
Tailwind
colors: {
  custom: {
    50: '#8d5eae',
    500: '#58188b',
    950: '#000000',
  },
}
SCSS
$custom: #58188b;
$custom-light: #8d5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#58188b",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 273.391,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.1741,
    "h": 304
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#58188B
secondary
#78BE40
accent
#ED3A8A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58188B

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

Preview Lab → · Contrast checker → · Palette generator →

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