#581565#581565

#581565 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.140 H 320.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#581565
RGBrgb(88, 21, 101)
HSLhsl(290, 66%, 24%)
HSVhsv(290, 79%, 40%)
CMYKcmyk(12.9%, 79.2%, 0%, 60.4%)
CIE-LABlab(22.13, 41.60, -31.84)
CIE-LCHlch(22.13, 52.38, 322.57°)
OKLaboklab(34.7% 0.1083 -0.0892)
OKLCHoklch(34.7% 0.14 320.5)
XYZxyz(6.6414, 3.5510, 12.6450)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581565 #226515
analogous
#301565 #581565 #65154A
triadic
#581565 #655815 #156558
tetradic
#581565 #653015 #226515 #154A65
square
#581565 #653015 #226515 #154A65
split-complementary
#581565 #4A6515 #156530
monochromatic
#160519 #2C0A32 #581565 #842098 #B02ACA

Accessibility & contrast

On white

12.28
#581565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#581565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581565
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581565#FFFFFF#000000##FFFFFF
##5815651.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#1E3763
Tritanopia (blue-blind)
#58253C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581565;
/* rgb */ color: rgb(88, 21, 101);
/* oklch */ color: oklch(34.7% 0.140 320.5);
Tailwind
colors: {
  custom: {
    50: '#8a5b91',
    500: '#581565',
    950: '#000000',
  },
}
SCSS
$custom: #581565;
$custom-light: #8a5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#581565",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 290.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34704,
    "c": 0.14033,
    "h": 320.5
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#581565
secondary
#4A9C3A
accent
#E93F5B
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581565

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

Preview Lab → · Contrast checker → · Palette generator →

#581565 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva