#581B73#581B73

#581B73 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.147 H 313.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#581B73
RGBrgb(88, 27, 115)
HSLhsl(282, 62%, 28%)
HSVhsv(282, 77%, 45%)
CMYKcmyk(23.5%, 76.5%, 0%, 54.9%)
CIE-LABlab(23.99, 42.19, -37.92)
CIE-LCHlch(23.99, 56.73, 318.05°)
OKLaboklab(36.35% 0.1003 -0.1071)
OKLCHoklch(36.35% 0.147 313.1)
XYZxyz(7.5104, 4.0966, 16.6114)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B73 #36731B
analogous
#2C1B73 #581B73 #731B62
triadic
#581B73 #73581B #1B7358
tetradic
#581B73 #732C1B #36731B #1B6273
square
#581B73 #732C1B #36731B #1B6273
split-complementary
#581B73 #62731B #1B732C
monochromatic
#130619 #320F41 #581B73 #7E27A5 #A238D0

Accessibility & contrast

On white

11.54
#581B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B73
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B73#FFFFFF#000000##FFFFFF
##581B731.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#123A71
Tritanopia (blue-blind)
#552E45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581b73;
/* rgb */ color: rgb(88, 27, 115);
/* oklch */ color: oklch(36.3% 0.147 313.1);
Tailwind
colors: {
  custom: {
    50: '#8b5e9c',
    500: '#581b73',
    950: '#000000',
  },
}
SCSS
$custom: #581b73;
$custom-light: #8b5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581b73",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 281.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36348,
    "c": 0.14675,
    "h": 313.1
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#581B73
secondary
#61A842
accent
#E54375
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581B73

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

Preview Lab → · Contrast checker → · Palette generator →

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