#58187B#58187B

#58187B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.158 H 310.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#58187B
RGBrgb(88, 24, 123)
HSLhsl(279, 67%, 29%)
HSVhsv(279, 80%, 48%)
CMYKcmyk(28.5%, 80.5%, 0%, 51.8%)
CIE-LABlab(24.19, 45.22, -42.71)
CIE-LCHlch(24.19, 62.20, 316.64°)
OKLaboklab(36.69% 0.1017 -0.1211)
OKLCHoklch(36.69% 0.158 310)
XYZxyz(7.9256, 4.1582, 19.1202)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58187B #3B7B18
analogous
#27187B #58187B #7B186D
triadic
#58187B #7B5818 #187B58
tetradic
#58187B #7B2718 #3B7B18 #186D7B
square
#58187B #7B2718 #3B7B18 #186D7B
split-complementary
#58187B #6D7B18 #187B27
monochromatic
#12051A #330E48 #58187B #7D22AE #9E36D8

Accessibility & contrast

On white

11.47
#58187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#58187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58187B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58187B#FFFFFF#000000##FFFFFF
##58187B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#533049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58187b;
/* rgb */ color: rgb(88, 24, 123);
/* oklch */ color: oklch(36.7% 0.158 310.0);
Tailwind
colors: {
  custom: {
    50: '#8b5da2',
    500: '#58187b',
    950: '#000000',
  },
}
SCSS
$custom: #58187b;
$custom-light: #8b5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#58187b",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 278.788,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.15819,
    "h": 310
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#58187B
secondary
#67B03F
accent
#EA3E7B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58187B

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

Preview Lab → · Contrast checker → · Palette generator →

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