#581F77#581F77

#581F77 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.146 H 310.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#581F77
RGBrgb(88, 31, 119)
HSLhsl(279, 59%, 29%)
HSVhsv(279, 74%, 47%)
CMYKcmyk(26.1%, 73.9%, 0%, 53.3%)
CIE-LABlab(24.91, 41.34, -38.99)
CIE-LCHlch(24.91, 56.83, 316.68°)
OKLaboklab(37.1% 0.0954 -0.1103)
OKLCHoklch(37.1% 0.146 310.9)
XYZxyz(7.8436, 4.3868, 17.8827)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F77 #3E771F
analogous
#2C1F77 #581F77 #771F6A
triadic
#581F77 #77581F #1F7758
tetradic
#581F77 #772C1F #3E771F #1F6A77
square
#581F77 #772C1F #3E771F #1F6A77
split-complementary
#581F77 #6A771F #1F772C
monochromatic
#120618 #341246 #581F77 #7C2CA8 #9D43CE

Accessibility & contrast

On white

11.19
#581F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581F77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F77
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F77#FFFFFF#000000##FFFFFF
##581F771.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#113C75
Tritanopia (blue-blind)
#543249
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581f77;
/* rgb */ color: rgb(88, 31, 119);
/* oklch */ color: oklch(37.1% 0.146 310.9);
Tailwind
colors: {
  custom: {
    50: '#8b609f',
    500: '#581f77',
    950: '#000000',
  },
}
SCSS
$custom: #581f77;
$custom-light: #8b609f;
$custom-dark: #000000;
JSON
{
  "hex": "#581f77",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 278.864,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.14582,
    "h": 310.9
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#581F77
secondary
#6AAB47
accent
#E2467D
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581F77

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

Preview Lab → · Contrast checker → · Palette generator →

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