#581072#581072

#581072 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.157 H 314.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#581072
RGBrgb(88, 16, 114)
HSLhsl(284, 75%, 25%)
HSVhsv(284, 86%, 45%)
CMYKcmyk(22.8%, 86%, 0%, 55.3%)
CIE-LABlab(22.52, 46.00, -39.66)
CIE-LCHlch(22.52, 60.74, 319.23°)
OKLaboklab(35.29% 0.1105 -0.1121)
OKLCHoklch(35.29% 0.157 314.6)
XYZxyz(7.2465, 3.6605, 16.2411)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581072 #2A7210
analogous
#271072 #581072 #72105B
triadic
#581072 #725810 #107258
tetradic
#581072 #722710 #2A7210 #105B72
square
#581072 #722710 #2A7210 #105B72
split-complementary
#581072 #5B7210 #107227
monochromatic
#15041B #2F083C #581072 #8118A8 #AB1FDD

Accessibility & contrast

On white

12.12
#581072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581072
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581072#FFFFFF#000000##FFFFFF
##5810721.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#562942
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581072;
/* rgb */ color: rgb(88, 16, 114);
/* oklch */ color: oklch(35.3% 0.157 314.6);
Tailwind
colors: {
  custom: {
    50: '#8b599b',
    500: '#581072',
    950: '#000000',
  },
}
SCSS
$custom: #581072;
$custom-light: #8b599b;
$custom-dark: #000000;
JSON
{
  "hex": "#581072",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 284.082,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35287,
    "c": 0.15741,
    "h": 314.6
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#581072
secondary
#53A934
accent
#F23668
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581072

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

Preview Lab → · Contrast checker → · Palette generator →

#581072 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva