#58188A#58188A

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

Color values

HEX#58188A
RGBrgb(88, 24, 138)
HSLhsl(274, 70%, 32%)
HSVhsv(274, 83%, 54%)
CMYKcmyk(36.2%, 82.6%, 0%, 45.9%)
CIE-LABlab(25.45, 48.70, -50.09)
CIE-LCHlch(25.45, 69.86, 314.19°)
OKLaboklab(37.96% 0.0978 -0.1429)
OKLCHoklch(37.96% 0.173 304.4)
XYZxyz(8.9375, 4.5630, 24.4497)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58188A #4A8A18
analogous
#1F188A #58188A #8A1883
triadic
#58188A #8A5818 #188A58
tetradic
#58188A #8A1F18 #4A8A18 #18838A
square
#58188A #8A1F18 #4A8A18 #18838A
split-complementary
#58188A #838A18 #188A1F
monochromatic
#160622 #370F56 #58188A #7921BE #983FDE

Accessibility & contrast

On white

10.98
#58188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#58188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58188A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58188A#FFFFFF#000000##FFFFFF
##58188A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#4E3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #58188a;
/* rgb */ color: rgb(88, 24, 138);
/* oklch */ color: oklch(38.0% 0.173 304.4);
Tailwind
colors: {
  custom: {
    50: '#8d5ead',
    500: '#58188a',
    950: '#000000',
  },
}
SCSS
$custom: #58188a;
$custom-light: #8d5ead;
$custom-dark: #000000;
JSON
{
  "hex": "#58188a",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 273.684,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37962,
    "c": 0.17311,
    "h": 304.4
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#58188A
secondary
#77BD40
accent
#ED3B89
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58188A

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

Preview Lab → · Contrast checker → · Palette generator →

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