#581F73#581F73

#581F73 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.142 H 312.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#581F73
RGBrgb(88, 31, 115)
HSLhsl(281, 58%, 29%)
HSVhsv(281, 73%, 45%)
CMYKcmyk(23.5%, 73%, 0%, 54.9%)
CIE-LABlab(24.62, 40.42, -36.91)
CIE-LCHlch(24.62, 54.73, 317.60°)
OKLaboklab(36.8% 0.0959 -0.1042)
OKLCHoklch(36.8% 0.142 312.6)
XYZxyz(7.6084, 4.2927, 16.6441)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F73 #3A731F
analogous
#2E1F73 #581F73 #731F64
triadic
#581F73 #73581F #1F7358
tetradic
#581F73 #732E1F #3A731F #1F6473
square
#581F73 #732E1F #3A731F #1F6473
split-complementary
#581F73 #64731F #1F732E
monochromatic
#120618 #331243 #581F73 #7D2CA3 #9F41CC

Accessibility & contrast

On white

11.30
#581F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#581F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F73
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F73#FFFFFF#000000##FFFFFF
##581F731.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#173C71
Tritanopia (blue-blind)
#553146
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581f73;
/* rgb */ color: rgb(88, 31, 115);
/* oklch */ color: oklch(36.8% 0.142 312.6);
Tailwind
colors: {
  custom: {
    50: '#8a609c',
    500: '#581f73',
    950: '#000000',
  },
}
SCSS
$custom: #581f73;
$custom-light: #8a609c;
$custom-dark: #000000;
JSON
{
  "hex": "#581f73",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 280.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.14161,
    "h": 312.6
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#581F73
secondary
#66A747
accent
#E14778
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581F73

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

Preview Lab → · Contrast checker → · Palette generator →

#581F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva