#581A6C#581A6C

#581A6C is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.141 H 316.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#581A6C
RGBrgb(88, 26, 108)
HSLhsl(285, 61%, 26%)
HSVhsv(285, 76%, 42%)
CMYKcmyk(18.5%, 75.9%, 0%, 57.6%)
CIE-LABlab(23.33, 41.07, -34.48)
CIE-LCHlch(23.33, 53.62, 319.99°)
OKLaboklab(35.72% 0.1023 -0.097)
OKLCHoklch(35.72% 0.141 316.5)
XYZxyz(7.1003, 3.8965, 14.5625)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A6C #2E6C1A
analogous
#2F1A6C #581A6C #6C1A57
triadic
#581A6C #6C581A #1A6C58
tetradic
#581A6C #6C2F1A #2E6C1A #1A576C
square
#581A6C #6C2F1A #2E6C1A #1A576C
split-complementary
#581A6C #576C1A #1A6C2F
monochromatic
#140619 #300E3B #581A6C #80269D #A833CE

Accessibility & contrast

On white

11.80
#581A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A6C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A6C#FFFFFF#000000##FFFFFF
##581A6C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#1A396A
Tritanopia (blue-blind)
#572B41
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581a6c;
/* rgb */ color: rgb(88, 26, 108);
/* oklch */ color: oklch(35.7% 0.141 316.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#581a6c',
    950: '#000000',
  },
}
SCSS
$custom: #581a6c;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#581a6c",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 285.366,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35715,
    "c": 0.14098,
    "h": 316.5
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#581A6C
secondary
#58A141
accent
#E4436B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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