#581C90#581C90

#581C90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.175 H 301.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#581C90
RGBrgb(88, 28, 144)
HSLhsl(271, 67%, 34%)
HSVhsv(271, 81%, 56%)
CMYKcmyk(38.9%, 80.6%, 0%, 43.5%)
CIE-LABlab(26.50, 48.62, -52.11)
CIE-LCHlch(26.50, 71.27, 313.02°)
OKLaboklab(38.86% 0.0928 -0.1488)
OKLCHoklch(38.86% 0.175 301.9)
XYZxyz(9.4726, 4.9188, 26.8305)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C90 #54901C
analogous
#1E1C90 #581C90 #901C8E
triadic
#581C90 #90581C #1C9058
tetradic
#581C90 #901E1C #54901C #1C8E90
square
#581C90 #901E1C #54901C #1C8E90
split-complementary
#581C90 #8E901C #1C901E
monochromatic
#19082A #39125D #581C90 #7726C3 #964ADC

Accessibility & contrast

On white

10.59
#581C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#581C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C90
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C90#FFFFFF#000000##FFFFFF
##581C901.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #581c90;
/* rgb */ color: rgb(88, 28, 144);
/* oklch */ color: oklch(38.9% 0.175 301.9);
Tailwind
colors: {
  custom: {
    50: '#8d60b1',
    500: '#581c90',
    950: '#000000',
  },
}
SCSS
$custom: #581c90;
$custom-light: #8d60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#581c90",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 271.034,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.17536,
    "h": 301.9
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#581C90
secondary
#82BE4A
accent
#EA3D91
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581C90

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

Preview Lab → · Contrast checker → · Palette generator →

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