#58198E#58198E

#58198E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.176 H 302.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#58198E
RGBrgb(88, 25, 142)
HSLhsl(272, 70%, 33%)
HSVhsv(272, 82%, 56%)
CMYKcmyk(38%, 82.4%, 0%, 44.3%)
CIE-LABlab(25.93, 49.28, -51.80)
CIE-LCHlch(25.93, 71.50, 313.57°)
OKLaboklab(38.4% 0.0958 -0.1479)
OKLCHoklch(38.4% 0.176 302.9)
XYZxyz(9.2535, 4.7230, 26.0101)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58198E #4F8E19
analogous
#1E198E #58198E #8E1989
triadic
#58198E #8E5819 #198E58
tetradic
#58198E #8E1E19 #4F8E19 #19898E
square
#58198E #8E1E19 #4F8E19 #19898E
split-complementary
#58198E #898E19 #198E1E
monochromatic
#180726 #38105A #58198E #7822C2 #9743DE

Accessibility & contrast

On white

10.80
#58198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#58198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58198E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58198E#FFFFFF#000000##FFFFFF
##58198E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#4D3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58198e;
/* rgb */ color: rgb(88, 25, 142);
/* oklch */ color: oklch(38.4% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#8d5fb0',
    500: '#58198e',
    950: '#000000',
  },
}
SCSS
$custom: #58198e;
$custom-light: #8d5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#58198e",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 272.308,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.17618,
    "h": 302.9
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

primary
#58198E
secondary
#7DBF44
accent
#ED3B8D
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58198E

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

Preview Lab → · Contrast checker → · Palette generator →

#58198E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva