#581F60#581F60

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

Color values

HEX#581F60
RGBrgb(88, 31, 96)
HSLhsl(293, 51%, 25%)
HSVhsv(293, 68%, 38%)
CMYKcmyk(8.3%, 67.7%, 0%, 62.4%)
CIE-LABlab(23.34, 36.22, -26.63)
CIE-LCHlch(23.34, 44.96, 323.68°)
OKLaboklab(35.47% 0.0968 -0.0741)
OKLCHoklch(35.47% 0.122 322.6)
XYZxyz(6.6256, 3.8996, 11.4678)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F60 #27601F
analogous
#371F60 #581F60 #601F48
triadic
#581F60 #60581F #1F6058
tetradic
#581F60 #60371F #27601F #1F4860
square
#581F60 #60371F #27601F #1F4860
split-complementary
#581F60 #48601F #1F6037
monochromatic
#150717 #2E1032 #581F60 #822E8E #AD3DBD

Accessibility & contrast

On white

11.80
#581F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F60
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F60#FFFFFF#000000##FFFFFF
##581F601.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103362
Deuteranopia (green-blind)
#283A5E
Tritanopia (blue-blind)
#59293C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581f60;
/* rgb */ color: rgb(88, 31, 96);
/* oklch */ color: oklch(35.5% 0.122 322.6);
Tailwind
colors: {
  custom: {
    50: '#895f8d',
    500: '#581f60',
    950: '#000000',
  },
}
SCSS
$custom: #581f60;
$custom-light: #895f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#581f60",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 292.615,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.35465,
    "c": 0.12191,
    "h": 322.6
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#581F60
secondary
#509546
accent
#DB4D5F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C050C
muted
#7D797D

Preview Lab

Preview with #581F60

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

Preview Lab → · Contrast checker → · Palette generator →

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