#581A62#581A62

#581A62 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.131 H 321.8°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#581A62
RGBrgb(88, 26, 98)
HSLhsl(292, 58%, 24%)
HSVhsv(292, 73%, 38%)
CMYKcmyk(10.2%, 73.5%, 0%, 61.6%)
CIE-LABlab(22.64, 38.95, -29.05)
CIE-LCHlch(22.64, 48.59, 323.28°)
OKLaboklab(35% 0.1031 -0.0811)
OKLCHoklch(35% 0.131 321.8)
XYZxyz(6.5983, 3.6957, 11.9187)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A62 #24621A
analogous
#341A62 #581A62 #621A48
triadic
#581A62 #62581A #1A6258
tetradic
#581A62 #62341A #24621A #1A4862
square
#581A62 #62341A #24621A #1A4862
split-complementary
#581A62 #48621A #1A6234
monochromatic
#160618 #2D0D32 #581A62 #832792 #AF34C3

Accessibility & contrast

On white

12.08
#581A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#581A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A62
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A62#FFFFFF#000000##FFFFFF
##581A621.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023264
Deuteranopia (green-blind)
#233860
Tritanopia (blue-blind)
#59273C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581a62;
/* rgb */ color: rgb(88, 26, 98);
/* oklch */ color: oklch(35.0% 0.131 321.8);
Tailwind
colors: {
  custom: {
    50: '#8a5d8f',
    500: '#581a62',
    950: '#000000',
  },
}
SCSS
$custom: #581a62;
$custom-light: #8a5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#581a62",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 291.667,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35004,
    "c": 0.13116,
    "h": 321.8
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#581A62
secondary
#4C9840
accent
#E1475C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #581A62

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

Preview Lab → · Contrast checker → · Palette generator →

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