#581D75#581D75

#581D75 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.7% C 0.146 H 312.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#581D75
RGBrgb(88, 29, 117)
HSLhsl(280, 60%, 29%)
HSVhsv(280, 75%, 46%)
CMYKcmyk(24.8%, 75.2%, 0%, 54.1%)
CIE-LABlab(24.44, 41.78, -38.47)
CIE-LCHlch(24.44, 56.79, 317.36°)
OKLaboklab(36.72% 0.0979 -0.1087)
OKLCHoklch(36.72% 0.146 312)
XYZxyz(7.6742, 4.2380, 17.2399)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D75 #3A751D
analogous
#2C1D75 #581D75 #751D66
triadic
#581D75 #75581D #1D7558
tetradic
#581D75 #752C1D #3A751D #1D6675
square
#581D75 #752C1D #3A751D #1D6675
split-complementary
#581D75 #66751D #1D752C
monochromatic
#120619 #331144 #581D75 #7D29A6 #9F3DCF

Accessibility & contrast

On white

11.37
#581D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#581D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D75
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D75#FFFFFF#000000##FFFFFF
##581D751.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#553047
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581d75;
/* rgb */ color: rgb(88, 29, 117);
/* oklch */ color: oklch(36.7% 0.146 312.0);
Tailwind
colors: {
  custom: {
    50: '#8b5f9d',
    500: '#581d75',
    950: '#000000',
  },
}
SCSS
$custom: #581d75;
$custom-light: #8b5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581d75",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 280.227,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36718,
    "c": 0.14631,
    "h": 312
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#581D75
secondary
#66A945
accent
#E34479
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D75

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

Preview Lab → · Contrast checker → · Palette generator →

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