#581D70#581D70

#581D70 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.141 H 314.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#581D70
RGBrgb(88, 29, 112)
HSLhsl(283, 59%, 28%)
HSVhsv(283, 74%, 44%)
CMYKcmyk(21.4%, 74.1%, 0%, 56.1%)
CIE-LABlab(24.08, 40.65, -35.85)
CIE-LCHlch(24.08, 54.20, 318.59°)
OKLaboklab(36.34% 0.0985 -0.1011)
OKLCHoklch(36.34% 0.141 314.3)
XYZxyz(7.3880, 4.1235, 15.7328)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D70 #35701D
analogous
#2F1D70 #581D70 #701D5E
triadic
#581D70 #70581D #1D7058
tetradic
#581D70 #702F1D #35701D #1D5E70
square
#581D70 #702F1D #35701D #1D5E70
split-complementary
#581D70 #5E701D #1D702F
monochromatic
#130618 #32103F #581D70 #7E2AA1 #A23BCC

Accessibility & contrast

On white

11.51
#581D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D70
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D70#FFFFFF#000000##FFFFFF
##581D701.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#193B6E
Tritanopia (blue-blind)
#562E44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581d70;
/* rgb */ color: rgb(88, 29, 112);
/* oklch */ color: oklch(36.3% 0.141 314.3);
Tailwind
colors: {
  custom: {
    50: '#8a5f9a',
    500: '#581d70',
    950: '#000000',
  },
}
SCSS
$custom: #581d70;
$custom-light: #8a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581d70",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 282.651,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.14115,
    "h": 314.3
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#581D70
secondary
#60A444
accent
#E24673
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D70

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

Preview Lab → · Contrast checker → · Palette generator →

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