#582070#582070

#582070 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.137 H 313.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#582070
RGBrgb(88, 32, 112)
HSLhsl(282, 56%, 28%)
HSVhsv(282, 71%, 44%)
CMYKcmyk(21.4%, 71.4%, 0%, 56.1%)
CIE-LABlab(24.57, 39.26, -35.06)
CIE-LCHlch(24.57, 52.63, 318.23°)
OKLaboklab(36.69% 0.0951 -0.0987)
OKLCHoklch(36.69% 0.137 313.9)
XYZxyz(7.4651, 4.2778, 15.7586)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582070 #387020
analogous
#302070 #582070 #702060
triadic
#582070 #705820 #207058
tetradic
#582070 #703020 #387020 #206070
square
#582070 #703020 #387020 #206070
split-complementary
#582070 #607020 #207030
monochromatic
#130718 #331240 #582070 #7D2EA0 #A042C9

Accessibility & contrast

On white

11.32
#582070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582070
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582070#FFFFFF#000000##FFFFFF
##5820701.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#1C3C6E
Tritanopia (blue-blind)
#563045
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #582070;
/* rgb */ color: rgb(88, 32, 112);
/* oklch */ color: oklch(36.7% 0.137 313.9);
Tailwind
colors: {
  custom: {
    50: '#8a6099',
    500: '#582070',
    950: '#000000',
  },
}
SCSS
$custom: #582070;
$custom-light: #8a6099;
$custom-dark: #000000;
JSON
{
  "hex": "#582070",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 112
  },
  "hsl": {
    "h": 282,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36693,
    "c": 0.13706,
    "h": 313.9
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#582070
secondary
#64A448
accent
#DF4976
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #582070

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

Preview Lab → · Contrast checker → · Palette generator →

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