#581280#581280

#581280 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.169 H 308.6°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#581280
RGBrgb(88, 18, 128)
HSLhsl(278, 75%, 29%)
HSVhsv(278, 86%, 50%)
CMYKcmyk(31.3%, 85.9%, 0%, 49.8%)
CIE-LABlab(23.89, 48.43, -46.36)
CIE-LCHlch(23.89, 67.04, 316.25°)
OKLaboklab(36.61% 0.1052 -0.1319)
OKLCHoklch(36.61% 0.169 308.6)
XYZxyz(8.1363, 4.0660, 20.7741)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581280 #3A8012
analogous
#211280 #581280 #801271
triadic
#581280 #805812 #128058
tetradic
#581280 #802112 #3A8012 #127180
square
#581280 #802112 #3A8012 #127180
split-complementary
#581280 #718012 #128021
monochromatic
#12041B #330A4A #581280 #7D1AB6 #9F2BE1

Accessibility & contrast

On white

11.58
#581280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581280
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581280#FFFFFF#000000##FFFFFF
##5812801.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#52304B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581280;
/* rgb */ color: rgb(88, 18, 128);
/* oklch */ color: oklch(36.6% 0.169 308.6);
Tailwind
colors: {
  custom: {
    50: '#8c5ba6',
    500: '#581280',
    950: '#000000',
  },
}
SCSS
$custom: #581280;
$custom-light: #8c5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#581280",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 278.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36606,
    "c": 0.16871,
    "h": 308.6
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#581280
secondary
#66B638
accent
#F2367A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #581280

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

Preview Lab → · Contrast checker → · Palette generator →

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