#581680#581680

#581680 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.165 H 308.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#581680
RGBrgb(88, 22, 128)
HSLhsl(277, 71%, 29%)
HSVhsv(277, 83%, 50%)
CMYKcmyk(31.3%, 82.8%, 0%, 49.8%)
CIE-LABlab(24.34, 47.09, -45.62)
CIE-LCHlch(24.34, 65.57, 315.91°)
OKLaboklab(36.92% 0.1022 -0.1297)
OKLCHoklch(36.92% 0.165 308.2)
XYZxyz(8.2069, 4.2072, 20.7976)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581680 #3E8016
analogous
#231680 #581680 #801673
triadic
#581680 #805816 #168058
tetradic
#581680 #802316 #3E8016 #167380
square
#581680 #802316 #3E8016 #167380
split-complementary
#581680 #738016 #168023
monochromatic
#12041A #340D4C #581680 #7C1FB4 #9D34DC

Accessibility & contrast

On white

11.40
#581680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#581680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581680
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581680#FFFFFF#000000##FFFFFF
##5816801.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581680;
/* rgb */ color: rgb(88, 22, 128);
/* oklch */ color: oklch(36.9% 0.165 308.2);
Tailwind
colors: {
  custom: {
    50: '#8c5da6',
    500: '#581680',
    950: '#000000',
  },
}
SCSS
$custom: #581680;
$custom-light: #8c5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#581680",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 277.358,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.16513,
    "h": 308.2
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#581680
secondary
#6AB53D
accent
#ED3A7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D050F
muted
#7D797F

Preview Lab

Preview with #581680

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

Preview Lab → · Contrast checker → · Palette generator →

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