#581D77#581D77

#581D77 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.148 H 311.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#581D77
RGBrgb(88, 29, 119)
HSLhsl(279, 61%, 29%)
HSVhsv(279, 76%, 47%)
CMYKcmyk(26.1%, 75.6%, 0%, 53.3%)
CIE-LABlab(24.59, 42.24, -39.50)
CIE-LCHlch(24.59, 57.84, 316.92°)
OKLaboklab(36.87% 0.0976 -0.1118)
OKLCHoklch(36.87% 0.148 311.1)
XYZxyz(7.7930, 4.2855, 17.8659)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D77 #3C771D
analogous
#2B1D77 #581D77 #771D69
triadic
#581D77 #77581D #1D7758
tetradic
#581D77 #772B1D #3C771D #1D6977
square
#581D77 #772B1D #3C771D #1D6977
split-complementary
#581D77 #69771D #1D772B
monochromatic
#120619 #341146 #581D77 #7C29A8 #9E3ED0

Accessibility & contrast

On white

11.31
#581D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#581D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D77
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D77#FFFFFF#000000##FFFFFF
##581D771.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581d77;
/* rgb */ color: rgb(88, 29, 119);
/* oklch */ color: oklch(36.9% 0.148 311.1);
Tailwind
colors: {
  custom: {
    50: '#8b5f9f',
    500: '#581d77',
    950: '#000000',
  },
}
SCSS
$custom: #581d77;
$custom-light: #8b5f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#581d77",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 279.333,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.14837,
    "h": 311.1
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#581D77
secondary
#68AB45
accent
#E4447B
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581D77

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

Preview Lab → · Contrast checker → · Palette generator →

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