#581A90#581A90

#581A90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.177 H 302.2°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#581A90
RGBrgb(88, 26, 144)
HSLhsl(272, 69%, 33%)
HSVhsv(272, 82%, 56%)
CMYKcmyk(38.9%, 81.9%, 0%, 43.5%)
CIE-LABlab(26.24, 49.39, -52.54)
CIE-LCHlch(26.24, 72.11, 313.23°)
OKLaboklab(38.67% 0.0944 -0.1501)
OKLCHoklch(38.67% 0.177 302.2)
XYZxyz(9.4267, 4.8271, 26.8152)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581A90 #52901A
analogous
#1D1A90 #581A90 #901A8D
triadic
#581A90 #90581A #1A9058
tetradic
#581A90 #901D1A #52901A #1A8D90
square
#581A90 #901D1A #52901A #1A8D90
split-complementary
#581A90 #8D901A #1A901D
monochromatic
#190728 #38115C #581A90 #7823C4 #9647DE

Accessibility & contrast

On white

10.68
#581A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#581A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581A90
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581A90#FFFFFF#000000##FFFFFF
##581A901.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581a90;
/* rgb */ color: rgb(88, 26, 144);
/* oklch */ color: oklch(38.7% 0.177 302.2);
Tailwind
colors: {
  custom: {
    50: '#8d5fb1',
    500: '#581a90',
    950: '#000000',
  },
}
SCSS
$custom: #581a90;
$custom-light: #8d5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#581a90",
  "rgb": {
    "r": 88,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 271.525,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.17727,
    "h": 302.2
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#581A90
secondary
#80BF47
accent
#EC3C8F
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581A90

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

Preview Lab → · Contrast checker → · Palette generator →

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