#581081#581081

#581081 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.6% C 0.171 H 308.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#581081
RGBrgb(88, 16, 129)
HSLhsl(278, 78%, 28%)
HSVhsv(278, 88%, 51%)
CMYKcmyk(31.8%, 87.6%, 0%, 49.4%)
CIE-LABlab(23.77, 49.25, -47.19)
CIE-LCHlch(23.77, 68.20, 316.22°)
OKLaboklab(36.55% 0.1063 -0.1343)
OKLCHoklch(36.55% 0.171 308.4)
XYZxyz(8.1714, 4.0304, 21.1121)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581081 #398110
analogous
#1F1081 #581081 #811071
triadic
#581081 #815810 #108158
tetradic
#581081 #811F10 #398110 #107181
square
#581081 #811F10 #398110 #107181
split-complementary
#581081 #718110 #10811F
monochromatic
#13031B #33094B #581081 #7D17B7 #A027E4

Accessibility & contrast

On white

11.63
#581081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581081
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581081#FFFFFF#000000##FFFFFF
##5810811.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#51304B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581081;
/* rgb */ color: rgb(88, 16, 129);
/* oklch */ color: oklch(36.6% 0.171 308.4);
Tailwind
colors: {
  custom: {
    50: '#8c5aa6',
    500: '#581081',
    950: '#000000',
  },
}
SCSS
$custom: #581081;
$custom-light: #8c5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#581081",
  "rgb": {
    "r": 88,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 278.23,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36552,
    "c": 0.17124,
    "h": 308.4
  },
  "luminance": 0.0403
}

Semantic roles & 50–950 ramp

primary
#581081
secondary
#65B736
accent
#F43379
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #581081

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

Preview Lab → · Contrast checker → · Palette generator →

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