#581F53#581F53

#581F53 is a dark, moderate purple. Relative luminance 0.037; OKLCH L 34.7% C 0.109 H 331.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#581F53
RGBrgb(88, 31, 83)
HSLhsl(305, 48%, 23%)
HSVhsv(305, 65%, 35%)
CMYKcmyk(0%, 64.8%, 5.7%, 65.5%)
CIE-LABlab(22.58, 33.62, -19.20)
CIE-LCHlch(22.58, 38.71, 330.27°)
OKLaboklab(34.67% 0.0957 -0.0526)
OKLCHoklch(34.67% 0.109 331.2)
XYZxyz(6.0758, 3.6796, 8.5722)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F53 #1F5824
analogous
#401F58 #581F53 #581F36
triadic
#581F53 #53581F #1F5358
tetradic
#581F53 #58401F #1F5824 #1F3658
square
#581F53 #58401F #1F5824 #1F3658
split-complementary
#581F53 #36581F #1F5840
monochromatic
#170815 #2B0F28 #581F53 #852F7E #B33FA8

Accessibility & contrast

On white

12.10
#581F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F53
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F53#FFFFFF#000000##FFFFFF
##581F531.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3155
Deuteranopia (green-blind)
#2F3951
Tritanopia (blue-blind)
#5C2435
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581f53;
/* rgb */ color: rgb(88, 31, 83);
/* oklch */ color: oklch(34.7% 0.109 331.2);
Tailwind
colors: {
  custom: {
    50: '#895f83',
    500: '#581f53',
    950: '#000000',
  },
}
SCSS
$custom: #581f53;
$custom-light: #895f83;
$custom-dark: #000000;
JSON
{
  "hex": "#581f53",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 305.263,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34672,
    "c": 0.10923,
    "h": 331.2
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#581F53
secondary
#468D4C
accent
#D75C50
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #581F53

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

Preview Lab → · Contrast checker → · Palette generator →

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