#581F63#581F63

#581F63 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.7% C 0.125 H 320.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#581F63
RGBrgb(88, 31, 99)
HSLhsl(290, 52%, 25%)
HSVhsv(290, 69%, 39%)
CMYKcmyk(11.1%, 68.7%, 0%, 61.2%)
CIE-LABlab(23.53, 36.86, -28.30)
CIE-LCHlch(23.53, 46.47, 322.49°)
OKLaboklab(35.66% 0.0969 -0.079)
OKLCHoklch(35.66% 0.125 320.8)
XYZxyz(6.7664, 3.9559, 12.2091)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F63 #2A631F
analogous
#361F63 #581F63 #631F4C
triadic
#581F63 #63581F #1F6358
tetradic
#581F63 #63361F #2A631F #1F4C63
square
#581F63 #63361F #2A631F #1F4C63
split-complementary
#581F63 #4C631F #1F6336
monochromatic
#150717 #2F1034 #581F63 #812E92 #AB3CC0

Accessibility & contrast

On white

11.72
#581F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F63
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F63#FFFFFF#000000##FFFFFF
##581F631.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#592A3E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581f63;
/* rgb */ color: rgb(88, 31, 99);
/* oklch */ color: oklch(35.7% 0.125 320.8);
Tailwind
colors: {
  custom: {
    50: '#8a5f90',
    500: '#581f63',
    950: '#000000',
  },
}
SCSS
$custom: #581f63;
$custom-light: #8a5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#581f63",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 290.294,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.12496,
    "h": 320.8
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#581F63
secondary
#539846
accent
#DC4C63
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581F63

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

Preview Lab → · Contrast checker → · Palette generator →

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