#58147E#58147E

#58147E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.165 H 309.2°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#58147E
RGBrgb(88, 20, 126)
HSLhsl(278, 73%, 29%)
HSVhsv(278, 84%, 49%)
CMYKcmyk(30.2%, 84.1%, 0%, 50.6%)
CIE-LABlab(23.94, 47.33, -45.02)
CIE-LCHlch(23.94, 65.32, 316.44°)
OKLaboklab(36.59% 0.1043 -0.1279)
OKLCHoklch(36.59% 0.165 309.2)
XYZxyz(8.0398, 4.0815, 20.0989)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58147E #3A7E14
analogous
#23147E #58147E #7E146F
triadic
#58147E #7E5814 #147E58
tetradic
#58147E #7E2314 #3A7E14 #146F7E
square
#58147E #7E2314 #3A7E14 #146F7E
split-complementary
#58147E #6F7E14 #147E23
monochromatic
#12041A #330C49 #58147E #7D1CB3 #9F2EDE

Accessibility & contrast

On white

11.56
#58147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58147E
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58147E#FFFFFF#000000##FFFFFF
##58147E1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#52304A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #58147e;
/* rgb */ color: rgb(88, 20, 126);
/* oklch */ color: oklch(36.6% 0.165 309.2);
Tailwind
colors: {
  custom: {
    50: '#8c5ca4',
    500: '#58147e',
    950: '#000000',
  },
}
SCSS
$custom: #58147e;
$custom-light: #8c5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#58147e",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 278.491,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36589,
    "c": 0.16506,
    "h": 309.2
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#58147E
secondary
#66B33A
accent
#EF387A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #58147E

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

Preview Lab → · Contrast checker → · Palette generator →

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