#581290#581290

#581290 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.184 H 302.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#581290
RGBrgb(88, 18, 144)
HSLhsl(273, 78%, 32%)
HSVhsv(273, 88%, 56%)
CMYKcmyk(38.9%, 87.5%, 0%, 43.5%)
CIE-LABlab(25.32, 52.06, -54.04)
CIE-LCHlch(25.32, 75.04, 313.94°)
OKLaboklab(38.04% 0.0999 -0.1544)
OKLCHoklch(38.04% 0.184 302.9)
XYZxyz(9.2736, 4.5209, 26.7642)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581290 #4A9012
analogous
#191290 #581290 #901289
triadic
#581290 #905812 #129058
tetradic
#581290 #901912 #4A9012 #128990
square
#581290 #901912 #4A9012 #128990
split-complementary
#581290 #899012 #129019
monochromatic
#160423 #370B5A #581290 #7919C6 #9836E6

Accessibility & contrast

On white

11.03
#581290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#581290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581290
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581290#FFFFFF#000000##FFFFFF
##5812901.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#4C3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581290;
/* rgb */ color: rgb(88, 18, 144);
/* oklch */ color: oklch(38.0% 0.184 302.9);
Tailwind
colors: {
  custom: {
    50: '#8e5cb2',
    500: '#581290',
    950: '#000000',
  },
}
SCSS
$custom: #581290;
$custom-light: #8e5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#581290",
  "rgb": {
    "r": 88,
    "g": 18,
    "b": 144
  },
  "hsl": {
    "h": 273.333,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3804,
    "c": 0.18389,
    "h": 302.9
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#581290
secondary
#77C43A
accent
#F43489
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581290

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

Preview Lab → · Contrast checker → · Palette generator →

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