#581E77#581E77

#581E77 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.147 H 311.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#581E77
RGBrgb(88, 30, 119)
HSLhsl(279, 60%, 29%)
HSVhsv(279, 75%, 47%)
CMYKcmyk(26.1%, 74.8%, 0%, 53.3%)
CIE-LABlab(24.75, 41.80, -39.25)
CIE-LCHlch(24.75, 57.34, 316.80°)
OKLaboklab(36.98% 0.0965 -0.111)
OKLCHoklch(36.98% 0.147 311)
XYZxyz(7.8179, 4.3354, 17.8742)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E77 #3D771E
analogous
#2C1E77 #581E77 #771E6A
triadic
#581E77 #77581E #1E7758
tetradic
#581E77 #772C1E #3D771E #1E6A77
square
#581E77 #772C1E #3D771E #1E6A77
split-complementary
#581E77 #6A771E #1E772C
monochromatic
#120618 #341246 #581E77 #7C2AA8 #9D40CF

Accessibility & contrast

On white

11.25
#581E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#581E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E77
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E77#FFFFFF#000000##FFFFFF
##581E771.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#0F3C75
Tritanopia (blue-blind)
#543248
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581e77;
/* rgb */ color: rgb(88, 30, 119);
/* oklch */ color: oklch(37.0% 0.147 311.0);
Tailwind
colors: {
  custom: {
    50: '#8b609f',
    500: '#581e77',
    950: '#000000',
  },
}
SCSS
$custom: #581e77;
$custom-light: #8b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#581e77",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 279.101,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.14712,
    "h": 311
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#581E77
secondary
#69AB46
accent
#E3457C
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E77

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

Preview Lab → · Contrast checker → · Palette generator →

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