#581870#581870

#581870 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.147 H 314.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#581870
RGBrgb(88, 24, 112)
HSLhsl(284, 65%, 27%)
HSVhsv(284, 79%, 44%)
CMYKcmyk(21.4%, 78.6%, 0%, 56.1%)
CIE-LABlab(23.33, 42.76, -37.05)
CIE-LCHlch(23.33, 56.58, 319.09°)
OKLaboklab(35.81% 0.1039 -0.1045)
OKLCHoklch(35.81% 0.147 314.8)
XYZxyz(7.2753, 3.8981, 15.6953)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581870 #307018
analogous
#2C1870 #581870 #70185C
triadic
#581870 #705818 #187058
tetradic
#581870 #702C18 #307018 #185C70
square
#581870 #702C18 #307018 #185C70
split-complementary
#581870 #5C7018 #18702C
monochromatic
#140519 #300D3E #581870 #8023A2 #A630D3

Accessibility & contrast

On white

11.80
#581870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581870
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581870#FFFFFF#000000##FFFFFF
##5818701.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#14396E
Tritanopia (blue-blind)
#562C43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581870;
/* rgb */ color: rgb(88, 24, 112);
/* oklch */ color: oklch(35.8% 0.147 314.8);
Tailwind
colors: {
  custom: {
    50: '#8b5d9a',
    500: '#581870',
    950: '#000000',
  },
}
SCSS
$custom: #581870;
$custom-light: #8b5d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581870",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 283.636,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35812,
    "c": 0.14735,
    "h": 314.8
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#581870
secondary
#5AA53E
accent
#E8406E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581870

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

Preview Lab → · Contrast checker → · Palette generator →

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