#580F76#580F76

#580F76 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.162 H 312.9°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#580F76
RGBrgb(88, 15, 118)
HSLhsl(283, 77%, 26%)
HSVhsv(283, 87%, 46%)
CMYKcmyk(25.4%, 87.3%, 0%, 53.7%)
CIE-LABlab(22.74, 47.14, -41.87)
CIE-LCHlch(22.74, 63.05, 318.39°)
OKLaboklab(35.54% 0.1102 -0.1186)
OKLCHoklch(35.54% 0.162 312.9)
XYZxyz(7.4647, 3.7246, 17.4617)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#580F76 #2D760F
analogous
#240F76 #580F76 #760F60
triadic
#580F76 #76580F #0F7658
tetradic
#580F76 #76240F #2D760F #0F6076
square
#580F76 #76240F #2D760F #0F6076
split-complementary
#580F76 #60760F #0F7624
monochromatic
#14031B #300840 #580F76 #8016AC #A91DE2

Accessibility & contrast

On white

12.04
#580F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#580F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #580F76
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##580F76#FFFFFF#000000##FFFFFF
##580F761.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#552A45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #580f76;
/* rgb */ color: rgb(88, 15, 118);
/* oklch */ color: oklch(35.5% 0.162 312.9);
Tailwind
colors: {
  custom: {
    50: '#8b599e',
    500: '#580f76',
    950: '#000000',
  },
}
SCSS
$custom: #580f76;
$custom-light: #8b599e;
$custom-dark: #000000;
JSON
{
  "hex": "#580f76",
  "rgb": {
    "r": 88,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 282.524,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35544,
    "c": 0.1619,
    "h": 312.9
  },
  "luminance": 0.03724
}

Semantic roles & 50–950 ramp

primary
#580F76
secondary
#57AD33
accent
#F4346C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #580F76

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

Preview Lab → · Contrast checker → · Palette generator →

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