#581572#581572

#581572 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.153 H 314.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#581572
RGBrgb(88, 21, 114)
HSLhsl(283, 69%, 26%)
HSVhsv(283, 82%, 45%)
CMYKcmyk(22.8%, 81.6%, 0%, 55.3%)
CIE-LABlab(23.09, 44.34, -38.73)
CIE-LCHlch(23.09, 58.87, 318.86°)
OKLaboklab(35.69% 0.1063 -0.1095)
OKLCHoklch(35.69% 0.153 314.2)
XYZxyz(7.3294, 3.8262, 16.2688)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581572 #2F7215
analogous
#2A1572 #581572 #72155E
triadic
#581572 #725815 #157258
tetradic
#581572 #722A15 #2F7215 #155E72
square
#581572 #722A15 #2F7215 #155E72
split-complementary
#581572 #5E7215 #15722A
monochromatic
#14051A #300B3E #581572 #801FA6 #A72AD8

Accessibility & contrast

On white

11.90
#581572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581572
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581572#FFFFFF#000000##FFFFFF
##5815721.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#0D3970
Tritanopia (blue-blind)
#552B43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581572;
/* rgb */ color: rgb(88, 21, 114);
/* oklch */ color: oklch(35.7% 0.153 314.2);
Tailwind
colors: {
  custom: {
    50: '#8b5b9b',
    500: '#581572',
    950: '#000000',
  },
}
SCSS
$custom: #581572;
$custom-light: #8b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581572",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 283.226,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35688,
    "c": 0.15261,
    "h": 314.2
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#581572
secondary
#59A83B
accent
#EC3C6D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581572

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

Preview Lab → · Contrast checker → · Palette generator →

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