#581589#581589

#581589 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.175 H 305.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#581589
RGBrgb(88, 21, 137)
HSLhsl(275, 73%, 31%)
HSVhsv(275, 85%, 54%)
CMYKcmyk(35.8%, 84.7%, 0%, 46.3%)
CIE-LABlab(25.01, 49.51, -50.20)
CIE-LCHlch(25.01, 70.51, 314.60°)
OKLaboklab(37.63% 0.1003 -0.1431)
OKLCHoklch(37.63% 0.175 305)
XYZxyz(8.8070, 4.4172, 24.0507)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581589 #468915
analogous
#1E1589 #581589 #891580
triadic
#581589 #895815 #158958
tetradic
#581589 #891E15 #468915 #158089
square
#581589 #891E15 #468915 #158089
split-complementary
#581589 #808915 #15891E
monochromatic
#14051F #360D54 #581589 #7A1DBE #9938E0

Accessibility & contrast

On white

11.15
#581589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581589
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581589#FFFFFF#000000##FFFFFF
##5815891.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#4F3651
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581589;
/* rgb */ color: rgb(88, 21, 137);
/* oklch */ color: oklch(37.6% 0.175 305.0);
Tailwind
colors: {
  custom: {
    50: '#8d5dac',
    500: '#581589',
    950: '#000000',
  },
}
SCSS
$custom: #581589;
$custom-light: #8d5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#581589",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 274.655,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.17479,
    "h": 305
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#581589
secondary
#73BD3D
accent
#F03886
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581589

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

Preview Lab → · Contrast checker → · Palette generator →

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