#58147C#58147C

#58147C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.163 H 310.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#58147C
RGBrgb(88, 20, 124)
HSLhsl(279, 72%, 28%)
HSVhsv(279, 84%, 49%)
CMYKcmyk(29%, 83.9%, 0%, 51.4%)
CIE-LABlab(23.77, 46.89, -44.02)
CIE-LCHlch(23.77, 64.31, 316.81°)
OKLaboklab(36.42% 0.1049 -0.125)
OKLCHoklch(36.42% 0.163 310)
XYZxyz(7.9120, 4.0304, 19.4260)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58147C #387C14
analogous
#24147C #58147C #7C146C
triadic
#58147C #7C5814 #147C58
tetradic
#58147C #7C2414 #387C14 #146C7C
square
#58147C #7C2414 #387C14 #146C7C
split-complementary
#58147C #6C7C14 #147C24
monochromatic
#13041A #330B47 #58147C #7D1DB1 #A02DDD

Accessibility & contrast

On white

11.63
#58147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#58147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58147C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58147C#FFFFFF#000000##FFFFFF
##58147C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#532F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58147c;
/* rgb */ color: rgb(88, 20, 124);
/* oklch */ color: oklch(36.4% 0.163 310.0);
Tailwind
colors: {
  custom: {
    50: '#8c5ca3',
    500: '#58147c',
    950: '#000000',
  },
}
SCSS
$custom: #58147c;
$custom-light: #8c5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#58147c",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 279.231,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.16315,
    "h": 310
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#58147C
secondary
#64B23A
accent
#EF3978
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58147C

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

Preview Lab → · Contrast checker → · Palette generator →

#58147C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva