#58196F#58196F

#58196F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.145 H 315.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#58196F
RGBrgb(88, 25, 111)
HSLhsl(284, 63%, 27%)
HSVhsv(284, 77%, 44%)
CMYKcmyk(20.7%, 77.5%, 0%, 56.5%)
CIE-LABlab(23.40, 42.14, -36.30)
CIE-LCHlch(23.40, 55.62, 319.26°)
OKLaboklab(35.84% 0.103 -0.1023)
OKLCHoklch(35.84% 0.145 315.2)
XYZxyz(7.2409, 3.9179, 15.4107)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58196F #306F19
analogous
#2D196F #58196F #6F195B
triadic
#58196F #6F5819 #196F58
tetradic
#58196F #6F2D19 #306F19 #195B6F
square
#58196F #6F2D19 #306F19 #195B6F
split-complementary
#58196F #5B6F19 #196F2D
monochromatic
#140619 #300E3D #58196F #8024A1 #A632D1

Accessibility & contrast

On white

11.77
#58196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#58196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58196F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58196F#FFFFFF#000000##FFFFFF
##58196F1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#562C43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58196f;
/* rgb */ color: rgb(88, 25, 111);
/* oklch */ color: oklch(35.8% 0.145 315.2);
Tailwind
colors: {
  custom: {
    50: '#8a5d99',
    500: '#58196f',
    950: '#000000',
  },
}
SCSS
$custom: #58196f;
$custom-light: #8a5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#58196f",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 283.953,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35835,
    "c": 0.14519,
    "h": 315.2
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#58196F
secondary
#5AA43F
accent
#E6426E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #58196F

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

Preview Lab → · Contrast checker → · Palette generator →

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