#581A75#581A75

#581A75 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.150 H 312.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#581A75
RGBrgb(88, 26, 117)
HSLhsl(281, 64%, 28%)
HSVhsv(281, 78%, 46%)
CMYKcmyk(24.8%, 77.8%, 0%, 54.1%)
CIE-LABlab(23.99, 43.06, -39.20)
CIE-LCHlch(23.99, 58.23, 317.69°)
OKLaboklab(36.4% 0.101 -0.1108)
OKLCHoklch(36.4% 0.15 312.3)
XYZxyz(7.6042, 4.0981, 17.2166)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A75 #37751A
analogous
#2A1A75 #581A75 #751A64
triadic
#581A75 #75581A #1A7558
tetradic
#581A75 #752A1A #37751A #1A6475
square
#581A75 #752A1A #37751A #1A6475
split-complementary
#581A75 #64751A #1A752A
monochromatic
#130619 #320F43 #581A75 #7E25A7 #A137D3

Accessibility & contrast

On white

11.54
#581A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#581A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A75
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A75#FFFFFF#000000##FFFFFF
##581A751.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#0D3A73
Tritanopia (blue-blind)
#552F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581a75;
/* rgb */ color: rgb(88, 26, 117);
/* oklch */ color: oklch(36.4% 0.150 312.3);
Tailwind
colors: {
  custom: {
    50: '#8b5e9d',
    500: '#581a75',
    950: '#000000',
  },
}
SCSS
$custom: #581a75;
$custom-light: #8b5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581a75",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 280.879,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36399,
    "c": 0.14998,
    "h": 312.3
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#581A75
secondary
#62AA41
accent
#E74176
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A75

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

Preview Lab → · Contrast checker → · Palette generator →

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