#581070#581070

#581070 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.156 H 315.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#581070
RGBrgb(88, 16, 112)
HSLhsl(285, 75%, 25%)
HSVhsv(285, 86%, 44%)
CMYKcmyk(21.4%, 85.7%, 0%, 56.1%)
CIE-LABlab(22.36, 45.58, -38.63)
CIE-LCHlch(22.36, 59.75, 319.72°)
OKLaboklab(35.13% 0.1109 -0.1091)
OKLCHoklch(35.13% 0.156 315.5)
XYZxyz(7.1339, 3.6154, 15.6482)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581070 #287010
analogous
#281070 #581070 #701058
triadic
#581070 #705810 #107058
tetradic
#581070 #702810 #287010 #105870
square
#581070 #702810 #287010 #105870
split-complementary
#581070 #587010 #107028
monochromatic
#15041B #2E083A #581070 #8218A6 #AC1FDB

Accessibility & contrast

On white

12.19
#581070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#581070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581070
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581070#FFFFFF#000000##FFFFFF
##5810701.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#562841
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #581070;
/* rgb */ color: rgb(88, 16, 112);
/* oklch */ color: oklch(35.1% 0.156 315.5);
Tailwind
colors: {
  custom: {
    50: '#8b599a',
    500: '#581070',
    950: '#000000',
  },
}
SCSS
$custom: #581070;
$custom-light: #8b599a;
$custom-dark: #000000;
JSON
{
  "hex": "#581070",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 285,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35126,
    "c": 0.15558,
    "h": 315.5
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#581070
secondary
#51A834
accent
#F23665
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581070

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

Preview Lab → · Contrast checker → · Palette generator →

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