#581C50#581C50

#581C50 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.111 H 333.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#581C50
RGBrgb(88, 28, 80)
HSLhsl(308, 52%, 23%)
HSVhsv(308, 68%, 35%)
CMYKcmyk(0%, 68.2%, 9.1%, 65.5%)
CIE-LABlab(21.89, 34.52, -18.27)
CIE-LCHlch(21.89, 39.05, 332.11°)
OKLaboklab(34.11% 0.0996 -0.0499)
OKLCHoklch(34.11% 0.111 333.4)
XYZxyz(5.8877, 3.4849, 7.9504)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C50 #1C5824
analogous
#421C58 #581C50 #581C32
triadic
#581C50 #50581C #1C5058
tetradic
#581C50 #58421C #1C5824 #1C3258
square
#581C50 #58421C #1C5824 #1C3258
split-complementary
#581C50 #32581C #1C5842
monochromatic
#170715 #2A0D26 #581C50 #862B7A #B53AA4

Accessibility & contrast

On white

12.38
#581C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#581C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C50
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C50#FFFFFF#000000##FFFFFF
##581C501.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F52
Deuteranopia (green-blind)
#2E384E
Tritanopia (blue-blind)
#5C2133
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581c50;
/* rgb */ color: rgb(88, 28, 80);
/* oklch */ color: oklch(34.1% 0.111 333.4);
Tailwind
colors: {
  custom: {
    50: '#895d81',
    500: '#581c50',
    950: '#000000',
  },
}
SCSS
$custom: #581c50;
$custom-light: #895d81;
$custom-dark: #000000;
JSON
{
  "hex": "#581c50",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 308,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34114,
    "c": 0.11137,
    "h": 333.4
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#581C50
secondary
#428E4C
accent
#DB604D
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #581C50

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

Preview Lab → · Contrast checker → · Palette generator →

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