#582071#582071

#582071 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.138 H 313.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#582071
RGBrgb(88, 32, 113)
HSLhsl(281, 56%, 28%)
HSVhsv(281, 72%, 44%)
CMYKcmyk(22.1%, 71.7%, 0%, 55.7%)
CIE-LABlab(24.64, 39.49, -35.59)
CIE-LCHlch(24.64, 53.16, 317.97°)
OKLaboklab(36.77% 0.095 -0.1003)
OKLCHoklch(36.77% 0.138 313.4)
XYZxyz(7.5211, 4.3002, 16.0534)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582071 #397120
analogous
#2F2071 #582071 #712061
triadic
#582071 #715820 #207158
tetradic
#582071 #712F20 #397120 #206171
square
#582071 #712F20 #397120 #206171
split-complementary
#582071 #617120 #20712F
monochromatic
#130718 #331241 #582071 #7D2EA1 #A042C9

Accessibility & contrast

On white

11.29
#582071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#582071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582071
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582071#FFFFFF#000000##FFFFFF
##5820711.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#1A3C6F
Tritanopia (blue-blind)
#553146
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #582071;
/* rgb */ color: rgb(88, 32, 113);
/* oklch */ color: oklch(36.8% 0.138 313.4);
Tailwind
colors: {
  custom: {
    50: '#8a609a',
    500: '#582071',
    950: '#000000',
  },
}
SCSS
$custom: #582071;
$custom-light: #8a609a;
$custom-dark: #000000;
JSON
{
  "hex": "#582071",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 281.481,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36766,
    "c": 0.13812,
    "h": 313.4
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

primary
#582071
secondary
#65A548
accent
#DF4977
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #582071

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

Preview Lab → · Contrast checker → · Palette generator →

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