#581D92#581D92

#581D92 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.176 H 301.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#581D92
RGBrgb(88, 29, 146)
HSLhsl(270, 67%, 34%)
HSVhsv(270, 80%, 57%)
CMYKcmyk(39.7%, 80.1%, 0%, 42.7%)
CIE-LABlab(26.82, 48.71, -52.83)
CIE-LCHlch(26.82, 71.86, 312.68°)
OKLaboklab(39.13% 0.0914 -0.1509)
OKLCHoklch(39.13% 0.176 301.2)
XYZxyz(9.6509, 5.0287, 27.6507)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581D92 #57921D
analogous
#1D1D92 #581D92 #921D92
triadic
#581D92 #92581D #1D9258
tetradic
#581D92 #921D1D #57921D #1D9292
square
#581D92 #921D1D #57921D #1D9292
split-complementary
#581D92 #92921D #1D921D
monochromatic
#1A092C #39135F #581D92 #7727C5 #954EDC

Accessibility & contrast

On white

10.47
#581D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#581D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581D92
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581D92#FFFFFF#000000##FFFFFF
##581D921.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#4B3D57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #581d92;
/* rgb */ color: rgb(88, 29, 146);
/* oklch */ color: oklch(39.1% 0.176 301.2);
Tailwind
colors: {
  custom: {
    50: '#8d61b3',
    500: '#581d92',
    950: '#000000',
  },
}
SCSS
$custom: #581d92;
$custom-light: #8d61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#581d92",
  "rgb": {
    "r": 88,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 270.256,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.17644,
    "h": 301.2
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#581D92
secondary
#85BE4C
accent
#EA3E93
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581D92

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

Preview Lab → · Contrast checker → · Palette generator →

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