#581780#581780

#581780 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.164 H 308.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#581780
RGBrgb(88, 23, 128)
HSLhsl(277, 70%, 30%)
HSVhsv(277, 82%, 50%)
CMYKcmyk(31.3%, 82%, 0%, 49.8%)
CIE-LABlab(24.47, 46.74, -45.42)
CIE-LCHlch(24.47, 65.17, 315.82°)
OKLaboklab(37.01% 0.1014 -0.1291)
OKLCHoklch(37.01% 0.164 308.1)
XYZxyz(8.2264, 4.2461, 20.8041)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581780 #3F8017
analogous
#241780 #581780 #801774
triadic
#581780 #805817 #178058
tetradic
#581780 #802417 #3F8017 #177480
square
#581780 #802417 #3F8017 #177480
split-complementary
#581780 #748017 #178024
monochromatic
#12051A #340E4C #581780 #7C20B4 #9C36DB

Accessibility & contrast

On white

11.36
#581780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#581780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581780
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581780#FFFFFF#000000##FFFFFF
##5817801.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#51324C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581780;
/* rgb */ color: rgb(88, 23, 128);
/* oklch */ color: oklch(37.0% 0.164 308.1);
Tailwind
colors: {
  custom: {
    50: '#8c5da6',
    500: '#581780',
    950: '#000000',
  },
}
SCSS
$custom: #581780;
$custom-light: #8c5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#581780",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 277.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37011,
    "c": 0.16415,
    "h": 308.1
  },
  "luminance": 0.04246
}

Semantic roles & 50–950 ramp

primary
#581780
secondary
#6BB43E
accent
#EC3B7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #581780

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

Preview Lab → · Contrast checker → · Palette generator →

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