#581A70#581A70

#581A70 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.145 H 314.6°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#581A70
RGBrgb(88, 26, 112)
HSLhsl(283, 62%, 27%)
HSVhsv(283, 77%, 44%)
CMYKcmyk(21.4%, 76.8%, 0%, 56.1%)
CIE-LABlab(23.62, 41.95, -36.59)
CIE-LCHlch(23.62, 55.66, 318.90°)
OKLaboklab(36.01% 0.1018 -0.1032)
OKLCHoklch(36.01% 0.145 314.6)
XYZxyz(7.3180, 3.9836, 15.7095)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A70 #32701A
analogous
#2D1A70 #581A70 #701A5D
triadic
#581A70 #70581A #1A7058
tetradic
#581A70 #702D1A #32701A #1A5D70
square
#581A70 #702D1A #32701A #1A5D70
split-complementary
#581A70 #5D701A #1A702D
monochromatic
#140619 #310E3E #581A70 #7F26A2 #A534D0

Accessibility & contrast

On white

11.69
#581A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A70
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A70#FFFFFF#000000##FFFFFF
##581A701.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#562D43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581a70;
/* rgb */ color: rgb(88, 26, 112);
/* oklch */ color: oklch(36.0% 0.145 314.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d9a',
    500: '#581a70',
    950: '#000000',
  },
}
SCSS
$custom: #581a70;
$custom-light: #8a5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581a70",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 283.256,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.14496,
    "h": 314.6
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#581A70
secondary
#5DA541
accent
#E54270
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A70

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

Preview Lab → · Contrast checker → · Palette generator →

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