#581D90#581D90

#581D90 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.174 H 301.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#581D90
RGBrgb(88, 29, 144)
HSLhsl(271, 66%, 34%)
HSVhsv(271, 80%, 56%)
CMYKcmyk(38.9%, 79.9%, 0%, 43.5%)
CIE-LABlab(26.64, 48.22, -51.88)
CIE-LCHlch(26.64, 70.83, 312.90°)
OKLaboklab(38.95% 0.092 -0.1481)
OKLCHoklch(38.95% 0.174 301.8)
XYZxyz(9.4967, 4.9670, 26.8386)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D90 #55901D
analogous
#1F1D90 #581D90 #901D8F
triadic
#581D90 #90581D #1D9058
tetradic
#581D90 #901F1D #55901D #1D8F90
square
#581D90 #901F1D #55901D #1D8F90
split-complementary
#581D90 #8F901D #1D901F
monochromatic
#1A082A #39135D #581D90 #7727C3 #964CDB

Accessibility & contrast

On white

10.53
#581D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#581D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D90
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D90#FFFFFF#000000##FFFFFF
##581D901.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#4C3C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581d90;
/* rgb */ color: rgb(88, 29, 144);
/* oklch */ color: oklch(39.0% 0.174 301.8);
Tailwind
colors: {
  custom: {
    50: '#8d61b1',
    500: '#581d90',
    950: '#000000',
  },
}
SCSS
$custom: #581d90;
$custom-light: #8d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#581d90",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 270.783,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.17437,
    "h": 301.8
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#581D90
secondary
#83BD4B
accent
#E93E92
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581D90

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

Preview Lab → · Contrast checker → · Palette generator →

#581D90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva