#581A6E#581A6E

#581A6E is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.143 H 315.6°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#581A6E
RGBrgb(88, 26, 110)
HSLhsl(284, 62%, 27%)
HSVhsv(284, 76%, 43%)
CMYKcmyk(20%, 76.4%, 0%, 56.9%)
CIE-LABlab(23.47, 41.51, -35.54)
CIE-LCHlch(23.47, 54.64, 319.43°)
OKLaboklab(35.86% 0.1021 -0.1001)
OKLCHoklch(35.86% 0.143 315.6)
XYZxyz(7.2079, 3.9396, 15.1296)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A6E #306E1A
analogous
#2E1A6E #581A6E #6E1A5A
triadic
#581A6E #6E581A #1A6E58
tetradic
#581A6E #6E2E1A #306E1A #1A5A6E
square
#581A6E #6E2E1A #306E1A #1A5A6E
split-complementary
#581A6E #5A6E1A #1A6E2E
monochromatic
#140619 #300E3D #581A6E #8026A0 #A634CF

Accessibility & contrast

On white

11.75
#581A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A6E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A6E#FFFFFF#000000##FFFFFF
##581A6E1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#183A6C
Tritanopia (blue-blind)
#562C42
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581a6e;
/* rgb */ color: rgb(88, 26, 110);
/* oklch */ color: oklch(35.9% 0.143 315.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d98',
    500: '#581a6e',
    950: '#000000',
  },
}
SCSS
$custom: #581a6e;
$custom-light: #8a5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#581a6e",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 110
  },
  "hsl": {
    "h": 284.286,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35863,
    "c": 0.14297,
    "h": 315.6
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#581A6E
secondary
#5AA341
accent
#E5436D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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