#58147A#58147A

#58147A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.3% C 0.161 H 310.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#58147A
RGBrgb(88, 20, 122)
HSLhsl(280, 72%, 28%)
HSVhsv(280, 84%, 48%)
CMYKcmyk(27.9%, 83.6%, 0%, 52.2%)
CIE-LABlab(23.61, 46.44, -43.02)
CIE-LCHlch(23.61, 63.30, 317.19°)
OKLaboklab(36.25% 0.1054 -0.122)
OKLCHoklch(36.25% 0.161 310.8)
XYZxyz(7.7868, 3.9804, 18.7667)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58147A #367A14
analogous
#25147A #58147A #7A1469
triadic
#58147A #7A5814 #147A58
tetradic
#58147A #7A2514 #367A14 #14697A
square
#58147A #7A2514 #367A14 #14697A
split-complementary
#58147A #697A14 #147A25
monochromatic
#13041A #320B45 #58147A #7E1DAF #A22CDC

Accessibility & contrast

On white

11.69
#58147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#58147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58147A
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58147A#FFFFFF#000000##FFFFFF
##58147A1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#532E48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #58147a;
/* rgb */ color: rgb(88, 20, 122);
/* oklch */ color: oklch(36.3% 0.161 310.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ba1',
    500: '#58147a',
    950: '#000000',
  },
}
SCSS
$custom: #58147a;
$custom-light: #8b5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#58147a",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 280,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36252,
    "c": 0.16124,
    "h": 310.8
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#58147A
secondary
#61B03A
accent
#EF3976
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #58147A

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

Preview Lab → · Contrast checker → · Palette generator →

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