#58145A#58145A

#58145A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.131 H 326.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#58145A
RGBrgb(88, 20, 90)
HSLhsl(298, 64%, 22%)
HSVhsv(298, 78%, 35%)
CMYKcmyk(2.2%, 77.8%, 0%, 64.7%)
CIE-LABlab(21.26, 39.81, -25.96)
CIE-LCHlch(21.26, 47.53, 326.89°)
OKLaboklab(33.85% 0.11 -0.0721)
OKLCHoklch(33.85% 0.131 326.8)
XYZxyz(6.1200, 3.3136, 9.9881)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58145A #165A14
analogous
#35145A #58145A #5A1439
triadic
#58145A #5A5814 #145A58
tetradic
#58145A #5A3514 #165A14 #14395A
square
#58145A #5A3514 #165A14 #14395A
split-complementary
#58145A #395A14 #145A35
monochromatic
#180619 #270928 #58145A #891F8C #BA2ABE

Accessibility & contrast

On white

12.63
#58145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#58145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58145A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58145A#FFFFFF#000000##FFFFFF
##58145A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5C
Deuteranopia (green-blind)
#253658
Tritanopia (blue-blind)
#5B1F36
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #58145a;
/* rgb */ color: rgb(88, 20, 90);
/* oklch */ color: oklch(33.8% 0.131 326.8);
Tailwind
colors: {
  custom: {
    50: '#8a5a89',
    500: '#58145a',
    950: '#000000',
  },
}
SCSS
$custom: #58145a;
$custom-light: #8a5a89;
$custom-dark: #000000;
JSON
{
  "hex": "#58145a",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 298.286,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33848,
    "c": 0.13149,
    "h": 326.8
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#58145A
secondary
#3B9238
accent
#E74146
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #58145A

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

Preview Lab → · Contrast checker → · Palette generator →

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