#581972#581972

#581972 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.148 H 313.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#581972
RGBrgb(88, 25, 114)
HSLhsl(282, 64%, 27%)
HSVhsv(282, 78%, 45%)
CMYKcmyk(22.8%, 78.1%, 0%, 55.3%)
CIE-LABlab(23.62, 42.80, -37.87)
CIE-LCHlch(23.62, 57.15, 318.50°)
OKLaboklab(36.07% 0.1025 -0.1069)
OKLCHoklch(36.07% 0.148 313.8)
XYZxyz(7.4089, 3.9851, 16.2953)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581972 #337219
analogous
#2C1972 #581972 #721960
triadic
#581972 #725819 #197258
tetradic
#581972 #722C19 #337219 #196072
square
#581972 #722C19 #337219 #196072
split-complementary
#581972 #607219 #19722C
monochromatic
#130619 #310E40 #581972 #7F24A4 #A433D2

Accessibility & contrast

On white

11.69
#581972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581972
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581972#FFFFFF#000000##FFFFFF
##5819721.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#123A70
Tritanopia (blue-blind)
#552D44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581972;
/* rgb */ color: rgb(88, 25, 114);
/* oklch */ color: oklch(36.1% 0.148 313.8);
Tailwind
colors: {
  custom: {
    50: '#8b5d9b',
    500: '#581972',
    950: '#000000',
  },
}
SCSS
$custom: #581972;
$custom-light: #8b5d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#581972",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 282.472,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.14816,
    "h": 313.8
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#581972
secondary
#5EA740
accent
#E74171
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581972

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

Preview Lab → · Contrast checker → · Palette generator →

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