#581C6E#581C6E

#581C6E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.140 H 315.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#581C6E
RGBrgb(88, 28, 110)
HSLhsl(284, 59%, 27%)
HSVhsv(284, 75%, 43%)
CMYKcmyk(20%, 74.5%, 0%, 56.9%)
CIE-LABlab(23.77, 40.64, -35.05)
CIE-LCHlch(23.77, 53.67, 319.23°)
OKLaboklab(36.08% 0.0999 -0.0987)
OKLCHoklch(36.08% 0.14 315.3)
XYZxyz(7.2538, 4.0313, 15.1448)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C6E #326E1C
analogous
#2F1C6E #581C6E #6E1C5B
triadic
#581C6E #6E581C #1C6E58
tetradic
#581C6E #6E2F1C #326E1C #1C5B6E
square
#581C6E #6E2F1C #326E1C #1C5B6E
split-complementary
#581C6E #5B6E1C #1C6E2F
monochromatic
#140618 #31103D #581C6E #7F289F #A538CC

Accessibility & contrast

On white

11.63
#581C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C6E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C6E#FFFFFF#000000##FFFFFF
##581C6E1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#1A3A6C
Tritanopia (blue-blind)
#562D43
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581c6e;
/* rgb */ color: rgb(88, 28, 110);
/* oklch */ color: oklch(36.1% 0.140 315.3);
Tailwind
colors: {
  custom: {
    50: '#8a5e98',
    500: '#581c6e',
    950: '#000000',
  },
}
SCSS
$custom: #581c6e;
$custom-light: #8a5e98;
$custom-dark: #000000;
JSON
{
  "hex": "#581c6e",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 283.902,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.14041,
    "h": 315.3
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#581C6E
secondary
#5DA343
accent
#E3456F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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