#581F61#581F61

#581F61 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.5% C 0.123 H 322.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#581F61
RGBrgb(88, 31, 97)
HSLhsl(292, 52%, 25%)
HSVhsv(292, 68%, 38%)
CMYKcmyk(9.3%, 68%, 0%, 62%)
CIE-LABlab(23.40, 36.43, -27.19)
CIE-LCHlch(23.40, 45.46, 323.27°)
OKLaboklab(35.53% 0.0968 -0.0757)
OKLCHoklch(35.53% 0.123 322)
XYZxyz(6.6719, 3.9181, 11.7118)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F61 #28611F
analogous
#371F61 #581F61 #611F49
triadic
#581F61 #61581F #1F6158
tetradic
#581F61 #61371F #28611F #1F4961
square
#581F61 #61371F #28611F #1F4961
split-complementary
#581F61 #49611F #1F6137
monochromatic
#150717 #2E1033 #581F61 #822E8F #AC3DBE

Accessibility & contrast

On white

11.77
#581F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581F61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F61
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F61#FFFFFF#000000##FFFFFF
##581F611.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3463
Deuteranopia (green-blind)
#273A5F
Tritanopia (blue-blind)
#592A3D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581f61;
/* rgb */ color: rgb(88, 31, 97);
/* oklch */ color: oklch(35.5% 0.123 322.0);
Tailwind
colors: {
  custom: {
    50: '#895f8e',
    500: '#581f61',
    950: '#000000',
  },
}
SCSS
$custom: #581f61;
$custom-light: #895f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#581f61",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 97
  },
  "hsl": {
    "h": 291.818,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3553,
    "c": 0.12292,
    "h": 322
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#581F61
secondary
#519646
accent
#DB4D60
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581F61

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

Preview Lab → · Contrast checker → · Palette generator →

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