#58198D#58198D

#58198D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.175 H 303.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#58198D
RGBrgb(88, 25, 141)
HSLhsl(273, 70%, 33%)
HSVhsv(273, 82%, 55%)
CMYKcmyk(37.6%, 82.3%, 0%, 44.7%)
CIE-LABlab(25.84, 49.04, -51.33)
CIE-LCHlch(25.84, 70.99, 313.70°)
OKLaboklab(38.32% 0.0961 -0.1465)
OKLCHoklch(38.32% 0.175 303.3)
XYZxyz(9.1787, 4.6931, 25.6164)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58198D #4E8D19
analogous
#1E198D #58198D #8D1988
triadic
#58198D #8D5819 #198D58
tetradic
#58198D #8D1E19 #4E8D19 #19888D
square
#58198D #8D1E19 #4E8D19 #19888D
split-complementary
#58198D #888D19 #198D1E
monochromatic
#170725 #381059 #58198D #7822C1 #9743DE

Accessibility & contrast

On white

10.83
#58198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58198D
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58198D#FFFFFF#000000##FFFFFF
##58198D1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58198d;
/* rgb */ color: rgb(88, 25, 141);
/* oklch */ color: oklch(38.3% 0.175 303.3);
Tailwind
colors: {
  custom: {
    50: '#8d5faf',
    500: '#58198d',
    950: '#000000',
  },
}
SCSS
$custom: #58198d;
$custom-light: #8d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#58198d",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 272.586,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.17517,
    "h": 303.3
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#58198D
secondary
#7CBF43
accent
#ED3B8C
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #58198D

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

Preview Lab → · Contrast checker → · Palette generator →

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