#58197B#58197B

#58197B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.157 H 309.9°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#58197B
RGBrgb(88, 25, 123)
HSLhsl(279, 66%, 29%)
HSVhsv(279, 80%, 48%)
CMYKcmyk(28.5%, 79.7%, 0%, 51.8%)
CIE-LABlab(24.32, 44.83, -42.49)
CIE-LCHlch(24.32, 61.77, 316.54°)
OKLaboklab(36.78% 0.1008 -0.1205)
OKLCHoklch(36.78% 0.157 309.9)
XYZxyz(7.9466, 4.2002, 19.1272)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58197B #3C7B19
analogous
#27197B #58197B #7B196D
triadic
#58197B #7B5819 #197B58
tetradic
#58197B #7B2719 #3C7B19 #196D7B
square
#58197B #7B2719 #3C7B19 #196D7B
split-complementary
#58197B #6D7B19 #197B27
monochromatic
#120519 #340F48 #58197B #7C23AE #9E38D7

Accessibility & contrast

On white

11.41
#58197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58197B
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58197B#FFFFFF#000000##FFFFFF
##58197B1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#533149
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #58197b;
/* rgb */ color: rgb(88, 25, 123);
/* oklch */ color: oklch(36.8% 0.157 309.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ea2',
    500: '#58197b',
    950: '#000000',
  },
}
SCSS
$custom: #58197b;
$custom-light: #8b5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#58197b",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 278.571,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3678,
    "c": 0.15712,
    "h": 309.9
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#58197B
secondary
#68AF40
accent
#E93F7C
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58197B

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

Preview Lab → · Contrast checker → · Palette generator →

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