#581E70#581E70

#581E70 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.140 H 314.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#581E70
RGBrgb(88, 30, 112)
HSLhsl(282, 58%, 28%)
HSVhsv(282, 73%, 44%)
CMYKcmyk(21.4%, 73.2%, 0%, 56.1%)
CIE-LABlab(24.24, 40.19, -35.59)
CIE-LCHlch(24.24, 53.69, 318.47°)
OKLaboklab(36.46% 0.0974 -0.1003)
OKLCHoklch(36.46% 0.14 314.2)
XYZxyz(7.4129, 4.1733, 15.7411)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E70 #36701E
analogous
#2F1E70 #581E70 #701E5F
triadic
#581E70 #70581E #1E7058
tetradic
#581E70 #702F1E #36701E #1E5F70
square
#581E70 #702F1E #36701E #1E5F70
split-complementary
#581E70 #5F701E #1E702F
monochromatic
#130618 #321140 #581E70 #7E2BA0 #A23DCB

Accessibility & contrast

On white

11.45
#581E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E70
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E70#FFFFFF#000000##FFFFFF
##581E701.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#562F45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581e70;
/* rgb */ color: rgb(88, 30, 112);
/* oklch */ color: oklch(36.5% 0.140 314.2);
Tailwind
colors: {
  custom: {
    50: '#8a5f9a',
    500: '#581e70',
    950: '#000000',
  },
}
SCSS
$custom: #581e70;
$custom-light: #8a5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#581e70",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 282.439,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36455,
    "c": 0.13981,
    "h": 314.2
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#581E70
secondary
#61A446
accent
#E14774
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E70

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

Preview Lab → · Contrast checker → · Palette generator →

#581E70 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva