#581779#581779

#581779 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 310.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#581779
RGBrgb(88, 23, 121)
HSLhsl(280, 68%, 28%)
HSVhsv(280, 81%, 47%)
CMYKcmyk(27.3%, 81%, 0%, 52.5%)
CIE-LABlab(23.90, 45.14, -41.91)
CIE-LCHlch(23.90, 61.60, 317.13°)
OKLaboklab(36.43% 0.1031 -0.1188)
OKLCHoklch(36.43% 0.157 310.9)
XYZxyz(7.7814, 4.0682, 18.4608)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581779 #387917
analogous
#271779 #581779 #791769
triadic
#581779 #795817 #177958
tetradic
#581779 #792717 #387917 #176979
square
#581779 #792717 #387917 #176979
split-complementary
#581779 #697917 #177927
monochromatic
#13051A #330D46 #581779 #7D21AC #A032D8

Accessibility & contrast

On white

11.58
#581779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581779
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581779#FFFFFF#000000##FFFFFF
##5817791.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#542F48
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581779;
/* rgb */ color: rgb(88, 23, 121);
/* oklch */ color: oklch(36.4% 0.157 310.9);
Tailwind
colors: {
  custom: {
    50: '#8b5da0',
    500: '#581779',
    950: '#000000',
  },
}
SCSS
$custom: #581779;
$custom-light: #8b5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#581779",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 279.796,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.15728,
    "h": 310.9
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#581779
secondary
#64AE3E
accent
#EB3D77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #581779

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

Preview Lab → · Contrast checker → · Palette generator →

#581779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva