#581573#581573

#581573 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.154 H 313.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#581573
RGBrgb(88, 21, 115)
HSLhsl(283, 69%, 27%)
HSVhsv(283, 82%, 45%)
CMYKcmyk(23.5%, 81.7%, 0%, 54.9%)
CIE-LABlab(23.17, 44.55, -39.25)
CIE-LCHlch(23.17, 59.38, 318.62°)
OKLaboklab(35.77% 0.1061 -0.111)
OKLCHoklch(35.77% 0.154 313.7)
XYZxyz(7.3866, 3.8491, 16.5702)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581573 #307315
analogous
#291573 #581573 #73155F
triadic
#581573 #735815 #157358
tetradic
#581573 #732915 #307315 #155F73
square
#581573 #732915 #307315 #155F73
split-complementary
#581573 #5F7315 #157329
monochromatic
#14051A #300C3F #581573 #801EA7 #A62AD8

Accessibility & contrast

On white

11.87
#581573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581573
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581573#FFFFFF#000000##FFFFFF
##5815731.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#0B3971
Tritanopia (blue-blind)
#552B44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581573;
/* rgb */ color: rgb(88, 21, 115);
/* oklch */ color: oklch(35.8% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#8b5b9c',
    500: '#581573',
    950: '#000000',
  },
}
SCSS
$custom: #581573;
$custom-light: #8b5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581573",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 282.766,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35768,
    "c": 0.15357,
    "h": 313.7
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#581573
secondary
#5AA93B
accent
#EC3C6E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581573

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

Preview Lab → · Contrast checker → · Palette generator →

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