#58197A#58197A

#58197A is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.156 H 310.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#58197A
RGBrgb(88, 25, 122)
HSLhsl(279, 66%, 29%)
HSVhsv(279, 80%, 48%)
CMYKcmyk(27.9%, 79.5%, 0%, 52.2%)
CIE-LABlab(24.24, 44.60, -41.98)
CIE-LCHlch(24.24, 61.25, 316.73°)
OKLaboklab(36.7% 0.101 -0.119)
OKLCHoklch(36.7% 0.156 310.3)
XYZxyz(7.8843, 4.1753, 18.7992)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58197A #3B7A19
analogous
#28197A #58197A #7A196C
triadic
#58197A #7A5819 #197A58
tetradic
#58197A #7A2819 #3B7A19 #196C7A
square
#58197A #7A2819 #3B7A19 #196C7A
split-complementary
#58197A #6C7A19 #197A28
monochromatic
#120519 #330F47 #58197A #7D23AD #9E37D6

Accessibility & contrast

On white

11.44
#58197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#58197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58197A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58197A#FFFFFF#000000##FFFFFF
##58197A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003B78
Tritanopia (blue-blind)
#533049
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58197a;
/* rgb */ color: rgb(88, 25, 122);
/* oklch */ color: oklch(36.7% 0.156 310.3);
Tailwind
colors: {
  custom: {
    50: '#8b5da1',
    500: '#58197a',
    950: '#000000',
  },
}
SCSS
$custom: #58197a;
$custom-light: #8b5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#58197a",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 278.969,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.15612,
    "h": 310.3
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#58197A
secondary
#67AF40
accent
#E93F7A
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58197A

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

Preview Lab → · Contrast checker → · Palette generator →

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