#58197D#58197D

#58197D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.159 H 309.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#58197D
RGBrgb(88, 25, 125)
HSLhsl(278, 67%, 29%)
HSVhsv(278, 80%, 49%)
CMYKcmyk(29.6%, 80%, 0%, 51%)
CIE-LABlab(24.48, 45.29, -43.50)
CIE-LCHlch(24.48, 62.79, 316.16°)
OKLaboklab(36.94% 0.1004 -0.1235)
OKLCHoklch(36.94% 0.159 309.1)
XYZxyz(8.0730, 4.2508, 19.7933)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58197D #3E7D19
analogous
#26197D #58197D #7D1970
triadic
#58197D #7D5819 #197D58
tetradic
#58197D #7D2619 #3E7D19 #19707D
square
#58197D #7D2619 #3E7D19 #19707D
split-complementary
#58197D #707D19 #197D26
monochromatic
#12051A #340F4A #58197D #7C23B0 #9D39D7

Accessibility & contrast

On white

11.35
#58197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#58197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58197D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58197D#FFFFFF#000000##FFFFFF
##58197D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#52324B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58197d;
/* rgb */ color: rgb(88, 25, 125);
/* oklch */ color: oklch(36.9% 0.159 309.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ea3',
    500: '#58197d',
    950: '#000000',
  },
}
SCSS
$custom: #58197d;
$custom-light: #8b5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#58197d",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 277.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36944,
    "c": 0.15912,
    "h": 309.1
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#58197D
secondary
#6AB140
accent
#EA3E7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58197D

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

Preview Lab → · Contrast checker → · Palette generator →

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