#581071#581071

#581071 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.2% C 0.157 H 315.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#581071
RGBrgb(88, 16, 113)
HSLhsl(285, 75%, 25%)
HSVhsv(285, 86%, 44%)
CMYKcmyk(22.1%, 85.8%, 0%, 55.7%)
CIE-LABlab(22.44, 45.79, -39.15)
CIE-LCHlch(22.44, 60.24, 319.47°)
OKLaboklab(35.21% 0.1107 -0.1106)
OKLCHoklch(35.21% 0.157 315)
XYZxyz(7.1899, 3.6378, 15.9430)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581071 #297110
analogous
#271071 #581071 #711059
triadic
#581071 #715810 #107158
tetradic
#581071 #712710 #297110 #105971
square
#581071 #712710 #297110 #105971
split-complementary
#581071 #597110 #107127
monochromatic
#15041B #2E083B #581071 #8218A7 #AB1FDC

Accessibility & contrast

On white

12.16
#581071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581071
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581071#FFFFFF#000000##FFFFFF
##5810711.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#09376F
Tritanopia (blue-blind)
#562842
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581071;
/* rgb */ color: rgb(88, 16, 113);
/* oklch */ color: oklch(35.2% 0.157 315.0);
Tailwind
colors: {
  custom: {
    50: '#8b599a',
    500: '#581071',
    950: '#000000',
  },
}
SCSS
$custom: #581071;
$custom-light: #8b599a;
$custom-dark: #000000;
JSON
{
  "hex": "#581071",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 284.536,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35206,
    "c": 0.1565,
    "h": 315
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#581071
secondary
#52A934
accent
#F23666
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581071

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

Preview Lab → · Contrast checker → · Palette generator →

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