#581990#581990

#581990 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.178 H 302.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#581990
RGBrgb(88, 25, 144)
HSLhsl(272, 70%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(38.9%, 82.6%, 0%, 43.5%)
CIE-LABlab(26.11, 49.76, -52.75)
CIE-LCHlch(26.11, 72.52, 313.33°)
OKLaboklab(38.58% 0.0952 -0.1507)
OKLCHoklch(38.58% 0.178 302.3)
XYZxyz(9.4050, 4.7836, 26.8080)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581990 #519019
analogous
#1D1990 #581990 #90198C
triadic
#581990 #905819 #199058
tetradic
#581990 #901D19 #519019 #198C90
square
#581990 #901D19 #519019 #198C90
split-complementary
#581990 #8C9019 #19901D
monochromatic
#180728 #38105C #581990 #7822C4 #9645DF

Accessibility & contrast

On white

10.73
#581990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#581990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581990
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581990#FFFFFF#000000##FFFFFF
##5819901.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#4C3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #581990;
/* rgb */ color: rgb(88, 25, 144);
/* oklch */ color: oklch(38.6% 0.178 302.3);
Tailwind
colors: {
  custom: {
    50: '#8d5fb1',
    500: '#581990',
    950: '#000000',
  },
}
SCSS
$custom: #581990;
$custom-light: #8d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#581990",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 271.765,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38583,
    "c": 0.1782,
    "h": 302.3
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#581990
secondary
#7FC045
accent
#ED3B8F
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581990

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

Preview Lab → · Contrast checker → · Palette generator →

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