#581980#581980

#581980 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.162 H 307.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#581980
RGBrgb(88, 25, 128)
HSLhsl(277, 67%, 30%)
HSVhsv(277, 80%, 50%)
CMYKcmyk(31.3%, 80.5%, 0%, 49.8%)
CIE-LABlab(24.73, 45.98, -45.00)
CIE-LCHlch(24.73, 64.33, 315.62°)
OKLaboklab(37.19% 0.0997 -0.1279)
OKLCHoklch(37.19% 0.162 307.9)
XYZxyz(8.2676, 4.3286, 20.8179)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581980 #418019
analogous
#251980 #581980 #801974
triadic
#581980 #805819 #198058
tetradic
#581980 #802519 #418019 #197480
square
#581980 #802519 #418019 #197480
split-complementary
#581980 #748019 #198025
monochromatic
#12051A #350F4D #581980 #7B23B3 #9B3BD9

Accessibility & contrast

On white

11.26
#581980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#581980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581980
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581980#FFFFFF#000000##FFFFFF
##5819801.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#51334C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581980;
/* rgb */ color: rgb(88, 25, 128);
/* oklch */ color: oklch(37.2% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#8c5ea6',
    500: '#581980',
    950: '#000000',
  },
}
SCSS
$custom: #581980;
$custom-light: #8c5ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#581980",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 276.699,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.37193,
    "c": 0.16212,
    "h": 307.9
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#581980
secondary
#6EB441
accent
#EA3E81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #581980

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

Preview Lab → · Contrast checker → · Palette generator →

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