#581372#581372

#581372 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.155 H 314.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#581372
RGBrgb(88, 19, 114)
HSLhsl(284, 71%, 26%)
HSVhsv(284, 83%, 45%)
CMYKcmyk(22.8%, 83.3%, 0%, 55.3%)
CIE-LABlab(22.85, 45.04, -39.13)
CIE-LCHlch(22.85, 59.66, 319.02°)
OKLaboklab(35.52% 0.1081 -0.1106)
OKLCHoklch(35.52% 0.155 314.3)
XYZxyz(7.2941, 3.7556, 16.2570)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581372 #2D7213
analogous
#281372 #581372 #72135C
triadic
#581372 #725813 #137258
tetradic
#581372 #722813 #2D7213 #135C72
square
#581372 #722813 #2D7213 #135C72
split-complementary
#581372 #5C7213 #137228
monochromatic
#14041A #300A3E #581372 #801CA6 #A925DB

Accessibility & contrast

On white

11.99
#581372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581372
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581372#FFFFFF#000000##FFFFFF
##5813721.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#0A3870
Tritanopia (blue-blind)
#552A43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581372;
/* rgb */ color: rgb(88, 19, 114);
/* oklch */ color: oklch(35.5% 0.155 314.3);
Tailwind
colors: {
  custom: {
    50: '#8b5b9b',
    500: '#581372',
    950: '#000000',
  },
}
SCSS
$custom: #581372;
$custom-light: #8b5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581372",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 283.579,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35518,
    "c": 0.15463,
    "h": 314.3
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#581372
secondary
#57A938
accent
#EE3A6B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581372

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

Preview Lab → · Contrast checker → · Palette generator →

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