#581F68#581F68

#581F68 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.0% C 0.130 H 318.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#581F68
RGBrgb(88, 31, 104)
HSLhsl(287, 54%, 26%)
HSVhsv(287, 70%, 41%)
CMYKcmyk(15.4%, 70.2%, 0%, 59.2%)
CIE-LABlab(23.85, 37.94, -31.04)
CIE-LCHlch(23.85, 49.02, 320.71°)
OKLaboklab(36% 0.0968 -0.087)
OKLCHoklch(36% 0.13 318.1)
XYZxyz(7.0128, 4.0545, 13.5072)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F68 #2F681F
analogous
#341F68 #581F68 #681F54
triadic
#581F68 #68581F #1F6858
tetradic
#581F68 #68341F #2F681F #1F5468
square
#581F68 #68341F #2F681F #1F5468
split-complementary
#581F68 #54681F #1F6834
monochromatic
#140718 #301139 #581F68 #802D97 #A73CC5

Accessibility & contrast

On white

11.60
#581F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581F68
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F68#FFFFFF#000000##FFFFFF
##581F681.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03356A
Deuteranopia (green-blind)
#223B66
Tritanopia (blue-blind)
#582C40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581f68;
/* rgb */ color: rgb(88, 31, 104);
/* oklch */ color: oklch(36.0% 0.130 318.1);
Tailwind
colors: {
  custom: {
    50: '#8a6093',
    500: '#581f68',
    950: '#000000',
  },
}
SCSS
$custom: #581f68;
$custom-light: #8a6093;
$custom-dark: #000000;
JSON
{
  "hex": "#581f68",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 286.849,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36002,
    "c": 0.1301,
    "h": 318.1
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#581F68
secondary
#599C46
accent
#DD4A6B
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581F68

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

Preview Lab → · Contrast checker → · Palette generator →

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