#581C77#581C77

#581C77 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.150 H 311.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#581C77
RGBrgb(88, 28, 119)
HSLhsl(280, 62%, 29%)
HSVhsv(280, 76%, 47%)
CMYKcmyk(26.1%, 76.5%, 0%, 53.3%)
CIE-LABlab(24.44, 42.68, -39.75)
CIE-LCHlch(24.44, 58.32, 317.03°)
OKLaboklab(36.77% 0.0986 -0.1125)
OKLCHoklch(36.77% 0.15 311.2)
XYZxyz(7.7689, 4.2373, 17.8578)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C77 #3B771C
analogous
#2A1C77 #581C77 #771C69
triadic
#581C77 #77581C #1C7758
tetradic
#581C77 #772A1C #3B771C #1C6977
square
#581C77 #772A1C #3B771C #1C6977
split-complementary
#581C77 #69771C #1C772A
monochromatic
#120619 #331045 #581C77 #7D28A9 #9E3CD1

Accessibility & contrast

On white

11.37
#581C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#581C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C77
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C77#FFFFFF#000000##FFFFFF
##581C771.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377A
Deuteranopia (green-blind)
#0C3B75
Tritanopia (blue-blind)
#543148
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581c77;
/* rgb */ color: rgb(88, 28, 119);
/* oklch */ color: oklch(36.8% 0.150 311.2);
Tailwind
colors: {
  custom: {
    50: '#8b5f9f',
    500: '#581c77',
    950: '#000000',
  },
}
SCSS
$custom: #581c77;
$custom-light: #8b5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581c77",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 279.56,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.14961,
    "h": 311.2
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#581C77
secondary
#67AB44
accent
#E5437A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581C77

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

Preview Lab → · Contrast checker → · Palette generator →

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