#581979#581979

#581979 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.155 H 310.7°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#581979
RGBrgb(88, 25, 121)
HSLhsl(279, 66%, 29%)
HSVhsv(279, 79%, 47%)
CMYKcmyk(27.3%, 79.3%, 0%, 52.5%)
CIE-LABlab(24.16, 44.37, -41.48)
CIE-LCHlch(24.16, 60.74, 316.93°)
OKLaboklab(36.62% 0.1012 -0.1175)
OKLCHoklch(36.62% 0.155 310.7)
XYZxyz(7.8227, 4.1506, 18.4745)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581979 #3A7919
analogous
#281979 #581979 #79196A
triadic
#581979 #795819 #197958
tetradic
#581979 #792819 #3A7919 #196A79
square
#581979 #792819 #3A7919 #196A79
split-complementary
#581979 #6A7919 #197928
monochromatic
#120519 #330F46 #581979 #7D23AC #9F37D6

Accessibility & contrast

On white

11.48
#581979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581979
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581979#FFFFFF#000000##FFFFFF
##5819791.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#023A77
Tritanopia (blue-blind)
#543048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581979;
/* rgb */ color: rgb(88, 25, 121);
/* oklch */ color: oklch(36.6% 0.155 310.7);
Tailwind
colors: {
  custom: {
    50: '#8b5da0',
    500: '#581979',
    950: '#000000',
  },
}
SCSS
$custom: #581979;
$custom-light: #8b5da0;
$custom-dark: #000000;
JSON
{
  "hex": "#581979",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 279.375,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36618,
    "c": 0.15512,
    "h": 310.7
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#581979
secondary
#66AE40
accent
#E93F79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050F
muted
#7D797E

Preview Lab

Preview with #581979

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

Preview Lab → · Contrast checker → · Palette generator →

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