#580F6A#580F6A

#580F6A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.151 H 318.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#580F6A
RGBrgb(88, 15, 106)
HSLhsl(288, 75%, 24%)
HSVhsv(288, 86%, 42%)
CMYKcmyk(17%, 85.8%, 0%, 58.4%)
CIE-LABlab(21.79, 44.65, -35.65)
CIE-LCHlch(21.79, 57.13, 321.39°)
OKLaboklab(34.58% 0.1129 -0.1004)
OKLCHoklch(34.58% 0.151 318.4)
XYZxyz(6.7965, 3.4573, 13.9422)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#580F6A #216A0F
analogous
#2A0F6A #580F6A #6A0F4E
triadic
#580F6A #6A580F #0F6A58
tetradic
#580F6A #6A2A0F #216A0F #0F4E6A
square
#580F6A #6A2A0F #216A0F #0F4E6A
split-complementary
#580F6A #4E6A0F #0F6A2A
monochromatic
#16041B #2B0734 #580F6A #8517A0 #B11ED5

Accessibility & contrast

On white

12.42
#580F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#580F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #580F6A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##580F6A#FFFFFF#000000##FFFFFF
##580F6A1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#143668
Tritanopia (blue-blind)
#57253E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #580f6a;
/* rgb */ color: rgb(88, 15, 106);
/* oklch */ color: oklch(34.6% 0.151 318.4);
Tailwind
colors: {
  custom: {
    50: '#8b5995',
    500: '#580f6a',
    950: '#000000',
  },
}
SCSS
$custom: #580f6a;
$custom-light: #8b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#580f6a",
  "rgb": {
    "r": 88,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 288.132,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.34581,
    "c": 0.15107,
    "h": 318.4
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#580F6A
secondary
#49A232
accent
#F2365B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #580F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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