#581C68#581C68

#581C68 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.134 H 318.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#581C68
RGBrgb(88, 28, 104)
HSLhsl(287, 58%, 26%)
HSVhsv(287, 73%, 41%)
CMYKcmyk(15.4%, 73.1%, 0%, 59.2%)
CIE-LABlab(23.35, 39.33, -31.83)
CIE-LCHlch(23.35, 50.60, 321.02°)
OKLaboklab(35.65% 0.1004 -0.0893)
OKLCHoklch(35.65% 0.134 318.4)
XYZxyz(6.9381, 3.9050, 13.4823)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C68 #2C681C
analogous
#321C68 #581C68 #681C52
triadic
#581C68 #68581C #1C6858
tetradic
#581C68 #68321C #2C681C #1C5268
square
#581C68 #68321C #2C681C #1C5268
split-complementary
#581C68 #52681C #1C6832
monochromatic
#140618 #2F0F38 #581C68 #812998 #AA36C8

Accessibility & contrast

On white

11.79
#581C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581C68
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C68#FFFFFF#000000##FFFFFF
##581C681.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#203A66
Tritanopia (blue-blind)
#582A40
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581c68;
/* rgb */ color: rgb(88, 28, 104);
/* oklch */ color: oklch(35.6% 0.134 318.4);
Tailwind
colors: {
  custom: {
    50: '#8a5e93',
    500: '#581c68',
    950: '#000000',
  },
}
SCSS
$custom: #581c68;
$custom-light: #8a5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#581c68",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 287.368,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.13435,
    "h": 318.4
  },
  "luminance": 0.03905
}

Semantic roles & 50–950 ramp

primary
#581C68
secondary
#569D43
accent
#E14767
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C050D
muted
#7D797E

Preview Lab

Preview with #581C68

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

Preview Lab → · Contrast checker → · Palette generator →

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