#58147F#58147F

#58147F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.166 H 308.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#58147F
RGBrgb(88, 20, 127)
HSLhsl(278, 73%, 29%)
HSVhsv(278, 84%, 50%)
CMYKcmyk(30.7%, 84.3%, 0%, 50.2%)
CIE-LABlab(24.02, 47.56, -45.51)
CIE-LCHlch(24.02, 65.83, 316.26°)
OKLaboklab(36.67% 0.1041 -0.1294)
OKLCHoklch(36.67% 0.166 308.8)
XYZxyz(8.1046, 4.1075, 20.4404)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58147F #3B7F14
analogous
#23147F #58147F #7F1471
triadic
#58147F #7F5814 #147F58
tetradic
#58147F #7F2314 #3B7F14 #14717F
square
#58147F #7F2314 #3B7F14 #14717F
split-complementary
#58147F #717F14 #147F23
monochromatic
#12041A #330C4A #58147F #7D1CB4 #9E2FDE

Accessibility & contrast

On white

11.53
#58147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#58147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58147F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58147F#FFFFFF#000000##FFFFFF
##58147F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#52314B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58147f;
/* rgb */ color: rgb(88, 20, 127);
/* oklch */ color: oklch(36.7% 0.166 308.8);
Tailwind
colors: {
  custom: {
    50: '#8c5ca5',
    500: '#58147f',
    950: '#000000',
  },
}
SCSS
$custom: #58147f;
$custom-light: #8c5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#58147f",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 278.131,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36674,
    "c": 0.16601,
    "h": 308.8
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#58147F
secondary
#67B43B
accent
#EF387B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58147F

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

Preview Lab → · Contrast checker → · Palette generator →

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