#581574#581574

#581574 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.155 H 313.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#581574
RGBrgb(88, 21, 116)
HSLhsl(282, 69%, 27%)
HSVhsv(282, 82%, 45%)
CMYKcmyk(24.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(23.24, 44.77, -39.77)
CIE-LCHlch(23.24, 59.88, 318.39°)
OKLaboklab(35.85% 0.1059 -0.1125)
OKLCHoklch(35.85% 0.155 313.3)
XYZxyz(7.4445, 3.8722, 16.8749)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581574 #317415
analogous
#291574 #581574 #741561
triadic
#581574 #745815 #157458
tetradic
#581574 #742915 #317415 #156174
square
#581574 #742915 #317415 #156174
split-complementary
#581574 #617415 #157429
monochromatic
#14051A #310C40 #581574 #7F1EA8 #A52BD9

Accessibility & contrast

On white

11.83
#581574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581574
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581574#FFFFFF#000000##FFFFFF
##5815741.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#083972
Tritanopia (blue-blind)
#552C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581574;
/* rgb */ color: rgb(88, 21, 116);
/* oklch */ color: oklch(35.8% 0.155 313.3);
Tailwind
colors: {
  custom: {
    50: '#8b5b9d',
    500: '#581574',
    950: '#000000',
  },
}
SCSS
$custom: #581574;
$custom-light: #8b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581574",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 282.316,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.15452,
    "h": 313.3
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#581574
secondary
#5CAA3B
accent
#EC3C70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581574

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

Preview Lab → · Contrast checker → · Palette generator →

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