#580F5A#580F5A

#580F5A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.137 H 326.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#580F5A
RGBrgb(88, 15, 90)
HSLhsl(298, 71%, 21%)
HSVhsv(298, 83%, 35%)
CMYKcmyk(2.2%, 83.3%, 0%, 64.7%)
CIE-LABlab(20.65, 41.54, -26.92)
CIE-LCHlch(20.65, 49.50, 327.05°)
OKLaboklab(33.42% 0.1149 -0.0748)
OKLCHoklch(33.42% 0.137 326.9)
XYZxyz(6.0407, 3.1550, 9.9617)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#580F5A #115A0F
analogous
#320F5A #580F5A #5A0F36
triadic
#580F5A #5A580F #0F5A58
tetradic
#580F5A #5A320F #115A0F #0F365A
square
#580F5A #5A320F #115A0F #0F365A
split-complementary
#580F5A #365A0F #0F5A32
monochromatic
#1A041A #250626 #580F5A #8B188E #BF20C3

Accessibility & contrast

On white

12.88
#580F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#580F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #580F5A
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##580F5A#FFFFFF#000000##FFFFFF
##580F5A1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#233558
Tritanopia (blue-blind)
#5B1C34
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #580f5a;
/* rgb */ color: rgb(88, 15, 90);
/* oklch */ color: oklch(33.4% 0.137 326.9);
Tailwind
colors: {
  custom: {
    50: '#8a5889',
    500: '#580f5a',
    950: '#000000',
  },
}
SCSS
$custom: #580f5a;
$custom-light: #8a5889;
$custom-dark: #000000;
JSON
{
  "hex": "#580f5a",
  "rgb": {
    "r": 88,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 298.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.13709,
    "h": 326.9
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#580F5A
secondary
#349431
accent
#EE3A3E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #580F5A

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

Preview Lab → · Contrast checker → · Palette generator →

#580F5A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva