#581973#581973

#581973 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.149 H 313.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#581973
RGBrgb(88, 25, 115)
HSLhsl(282, 64%, 27%)
HSVhsv(282, 78%, 45%)
CMYKcmyk(23.5%, 78.3%, 0%, 54.9%)
CIE-LABlab(23.70, 43.02, -38.39)
CIE-LCHlch(23.70, 57.66, 318.26°)
OKLaboklab(36.14% 0.1024 -0.1085)
OKLCHoklch(36.14% 0.149 313.3)
XYZxyz(7.4661, 4.0080, 16.5967)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581973 #347319
analogous
#2B1973 #581973 #731961
triadic
#581973 #735819 #197358
tetradic
#581973 #732B19 #347319 #196173
square
#581973 #732B19 #347319 #196173
split-complementary
#581973 #617319 #19732B
monochromatic
#130519 #320E41 #581973 #7E24A5 #A334D3

Accessibility & contrast

On white

11.66
#581973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581973
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581973#FFFFFF#000000##FFFFFF
##5819731.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#103A71
Tritanopia (blue-blind)
#552D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581973;
/* rgb */ color: rgb(88, 25, 115);
/* oklch */ color: oklch(36.1% 0.149 313.3);
Tailwind
colors: {
  custom: {
    50: '#8b5d9c',
    500: '#581973',
    950: '#000000',
  },
}
SCSS
$custom: #581973;
$custom-light: #8b5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581973",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 282,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36143,
    "c": 0.14915,
    "h": 313.3
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#581973
secondary
#5FA840
accent
#E74173
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581973

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

Preview Lab → · Contrast checker → · Palette generator →

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