#581457#581457

#581457 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.129 H 328.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#581457
RGBrgb(88, 20, 87)
HSLhsl(301, 63%, 21%)
HSVhsv(301, 77%, 35%)
CMYKcmyk(0%, 77.3%, 1.1%, 65.5%)
CIE-LABlab(21.07, 39.24, -24.26)
CIE-LCHlch(21.07, 46.14, 328.28°)
OKLaboklab(33.65% 0.11 -0.0671)
OKLCHoklch(33.65% 0.129 328.6)
XYZxyz(5.9949, 3.2636, 9.3292)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581457 #145815
analogous
#371458 #581457 #581435
triadic
#581457 #575814 #145758
tetradic
#581457 #583714 #145815 #143558
square
#581457 #583714 #145815 #143558
split-complementary
#581457 #355814 #145837
monochromatic
#190619 #260926 #581457 #8A1F88 #BC2BBA

Accessibility & contrast

On white

12.71
#581457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#581457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581457
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581457#FFFFFF#000000##FFFFFF
##5814571.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092D59
Deuteranopia (green-blind)
#273655
Tritanopia (blue-blind)
#5B1E34
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #581457;
/* rgb */ color: rgb(88, 20, 87);
/* oklch */ color: oklch(33.7% 0.129 328.6);
Tailwind
colors: {
  custom: {
    50: '#8a5a87',
    500: '#581457',
    950: '#000000',
  },
}
SCSS
$custom: #581457;
$custom-light: #8a5a87;
$custom-dark: #000000;
JSON
{
  "hex": "#581457",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 300.882,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.12885,
    "h": 328.6
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#581457
secondary
#389039
accent
#E64442
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581457

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

Preview Lab → · Contrast checker → · Palette generator →

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