#581B70#581B70

#581B70 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.144 H 314.5°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#581B70
RGBrgb(88, 27, 112)
HSLhsl(283, 61%, 27%)
HSVhsv(283, 76%, 44%)
CMYKcmyk(21.4%, 75.9%, 0%, 56.1%)
CIE-LABlab(23.77, 41.52, -36.35)
CIE-LCHlch(23.77, 55.19, 318.80°)
OKLaboklab(36.12% 0.1007 -0.1025)
OKLCHoklch(36.12% 0.144 314.5)
XYZxyz(7.3406, 4.0287, 15.7170)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B70 #33701B
analogous
#2E1B70 #581B70 #701B5E
triadic
#581B70 #70581B #1B7058
tetradic
#581B70 #702E1B #33701B #1B5E70
square
#581B70 #702E1B #33701B #1B5E70
split-complementary
#581B70 #5E701B #1B702E
monochromatic
#130619 #310F3F #581B70 #7F27A1 #A437CF

Accessibility & contrast

On white

11.63
#581B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B70
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B70#FFFFFF#000000##FFFFFF
##581B701.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#562D44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581b70;
/* rgb */ color: rgb(88, 27, 112);
/* oklch */ color: oklch(36.1% 0.144 314.5);
Tailwind
colors: {
  custom: {
    50: '#8a5e9a',
    500: '#581b70',
    950: '#000000',
  },
}
SCSS
$custom: #581b70;
$custom-light: #8a5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581b70",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 283.059,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3612,
    "c": 0.14372,
    "h": 314.5
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#581B70
secondary
#5EA542
accent
#E44471
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581B70

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

Preview Lab → · Contrast checker → · Palette generator →

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