#581F70#581F70

#581F70 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.6% C 0.138 H 314.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#581F70
RGBrgb(88, 31, 112)
HSLhsl(282, 57%, 28%)
HSVhsv(282, 72%, 44%)
CMYKcmyk(21.4%, 72.3%, 0%, 56.1%)
CIE-LABlab(24.40, 39.73, -35.33)
CIE-LCHlch(24.40, 53.17, 318.35°)
OKLaboklab(36.57% 0.0962 -0.0995)
OKLCHoklch(36.57% 0.138 314)
XYZxyz(7.4386, 4.2248, 15.7497)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F70 #37701F
analogous
#2F1F70 #581F70 #701F5F
triadic
#581F70 #70581F #1F7058
tetradic
#581F70 #702F1F #37701F #1F5F70
square
#581F70 #702F1F #37701F #1F5F70
split-complementary
#581F70 #5F701F #1F702F
monochromatic
#130718 #321240 #581F70 #7E2CA0 #A13FCA

Accessibility & contrast

On white

11.38
#581F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#581F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F70
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F70#FFFFFF#000000##FFFFFF
##581F701.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581f70;
/* rgb */ color: rgb(88, 31, 112);
/* oklch */ color: oklch(36.6% 0.138 314.0);
Tailwind
colors: {
  custom: {
    50: '#8a609a',
    500: '#581f70',
    950: '#000000',
  },
}
SCSS
$custom: #581f70;
$custom-light: #8a609a;
$custom-dark: #000000;
JSON
{
  "hex": "#581f70",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 282.222,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36573,
    "c": 0.13845,
    "h": 314
  },
  "luminance": 0.04225
}

Semantic roles & 50–950 ramp

primary
#581F70
secondary
#62A447
accent
#E04875
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581F70

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

Preview Lab → · Contrast checker → · Palette generator →

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