#58189D#58189D

#58189D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.192 H 298.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#58189D
RGBrgb(88, 24, 157)
HSLhsl(269, 73%, 35%)
HSVhsv(269, 85%, 62%)
CMYKcmyk(43.9%, 84.7%, 0%, 38.4%)
CIE-LABlab(27.19, 53.25, -58.97)
CIE-LCHlch(27.19, 79.45, 312.08°)
OKLaboklab(39.7% 0.0914 -0.1689)
OKLCHoklch(39.7% 0.192 298.4)
XYZxyz(10.4354, 5.1621, 32.3383)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58189D #5D9D18
analogous
#181A9D #58189D #9A189D
triadic
#58189D #9D5818 #189D58
tetradic
#58189D #9D181A #5D9D18 #189D9A
square
#58189D #9D181A #5D9D18 #189D9A
split-complementary
#58189D #9D9A18 #1A9D18
monochromatic
#1C0833 #3A1068 #58189D #7620D2 #954CE4

Accessibility & contrast

On white

10.33
#58189D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#58189D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58189D
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58189D#FFFFFF#000000##FFFFFF
##58189D1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#46405D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #58189d;
/* rgb */ color: rgb(88, 24, 157);
/* oklch */ color: oklch(39.7% 0.192 298.4);
Tailwind
colors: {
  custom: {
    50: '#8f5fbb',
    500: '#58189d',
    950: '#000000',
  },
}
SCSS
$custom: #58189d;
$custom-light: #8f5fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#58189d",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 268.872,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.397,
    "c": 0.19206,
    "h": 298.4
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#58189D
secondary
#8BC54B
accent
#F03897
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #58189D

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

Preview Lab → · Contrast checker → · Palette generator →

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