#58198F#58198F

#58198F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.177 H 302.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#58198F
RGBrgb(88, 25, 143)
HSLhsl(272, 70%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(38.5%, 82.5%, 0%, 43.9%)
CIE-LABlab(26.02, 49.52, -52.28)
CIE-LCHlch(26.02, 72.01, 313.45°)
OKLaboklab(38.49% 0.0955 -0.1493)
OKLCHoklch(38.49% 0.177 302.6)
XYZxyz(9.3289, 4.7531, 26.4072)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58198F #508F19
analogous
#1D198F #58198F #8F198B
triadic
#58198F #8F5819 #198F58
tetradic
#58198F #8F1D19 #508F19 #198B8F
square
#58198F #8F1D19 #508F19 #198B8F
split-complementary
#58198F #8B8F19 #198F1D
monochromatic
#180727 #38105B #58198F #7822C3 #9644DE

Accessibility & contrast

On white

10.77
#58198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#58198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58198F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58198F#FFFFFF#000000##FFFFFF
##58198F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4C3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #58198f;
/* rgb */ color: rgb(88, 25, 143);
/* oklch */ color: oklch(38.5% 0.177 302.6);
Tailwind
colors: {
  custom: {
    50: '#8d5fb1',
    500: '#58198f',
    950: '#000000',
  },
}
SCSS
$custom: #58198f;
$custom-light: #8d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#58198f",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 272.034,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38493,
    "c": 0.17719,
    "h": 302.6
  },
  "luminance": 0.04753
}

Semantic roles & 50–950 ramp

primary
#58198F
secondary
#7EBF44
accent
#ED3B8E
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #58198F

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

Preview Lab → · Contrast checker → · Palette generator →

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