#58198B#58198B

#58198B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.173 H 303.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#58198B
RGBrgb(88, 25, 139)
HSLhsl(273, 70%, 32%)
HSVhsv(273, 82%, 55%)
CMYKcmyk(36.7%, 82%, 0%, 45.5%)
CIE-LABlab(25.67, 48.57, -50.37)
CIE-LCHlch(25.67, 69.97, 313.96°)
OKLaboklab(38.14% 0.0967 -0.1437)
OKLCHoklch(38.14% 0.173 303.9)
XYZxyz(9.0312, 4.6341, 24.8398)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58198B #4C8B19
analogous
#1F198B #58198B #8B1985
triadic
#58198B #8B5819 #198B58
tetradic
#58198B #8B1F19 #4C8B19 #19858B
square
#58198B #8B1F19 #4C8B19 #19858B
split-complementary
#58198B #858B19 #198B1F
monochromatic
#160623 #371057 #58198B #7922BF #9741DD

Accessibility & contrast

On white

10.90
#58198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#58198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58198B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58198B#FFFFFF#000000##FFFFFF
##58198B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#4E3853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #58198b;
/* rgb */ color: rgb(88, 25, 139);
/* oklch */ color: oklch(38.1% 0.173 303.9);
Tailwind
colors: {
  custom: {
    50: '#8d5eae',
    500: '#58198b',
    950: '#000000',
  },
}
SCSS
$custom: #58198b;
$custom-light: #8d5eae;
$custom-dark: #000000;
JSON
{
  "hex": "#58198b",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 273.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.17317,
    "h": 303.9
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#58198B
secondary
#79BE42
accent
#EC3B8B
background
#F9F5FA
surface
#F1EAF4
border
#CBC6CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58198B

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

Preview Lab → · Contrast checker → · Palette generator →

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