#58197F#58197F

#58197F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.161 H 308.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#58197F
RGBrgb(88, 25, 127)
HSLhsl(277, 67%, 30%)
HSVhsv(277, 80%, 50%)
CMYKcmyk(30.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(24.65, 45.75, -44.50)
CIE-LCHlch(24.65, 63.82, 315.80°)
OKLaboklab(37.11% 0.0999 -0.1264)
OKLCHoklch(37.11% 0.161 308.3)
XYZxyz(8.2021, 4.3024, 20.4729)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58197F #407F19
analogous
#25197F #58197F #7F1973
triadic
#58197F #7F5819 #197F58
tetradic
#58197F #7F2519 #407F19 #19737F
square
#58197F #7F2519 #407F19 #19737F
split-complementary
#58197F #737F19 #197F25
monochromatic
#12051A #350F4C #58197F #7B23B2 #9C3AD8

Accessibility & contrast

On white

11.29
#58197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#58197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58197F
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58197F#FFFFFF#000000##FFFFFF
##58197F1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#52334C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #58197f;
/* rgb */ color: rgb(88, 25, 127);
/* oklch */ color: oklch(37.1% 0.161 308.3);
Tailwind
colors: {
  custom: {
    50: '#8c5ea5',
    500: '#58197f',
    950: '#000000',
  },
}
SCSS
$custom: #58197f;
$custom-light: #8c5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#58197f",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 277.059,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.16112,
    "h": 308.3
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#58197F
secondary
#6CB341
accent
#EA3E80
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #58197F

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

Preview Lab → · Contrast checker → · Palette generator →

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