#581C83#581C83

#581C83 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.162 H 306.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#581C83
RGBrgb(88, 28, 131)
HSLhsl(275, 65%, 31%)
HSVhsv(275, 79%, 51%)
CMYKcmyk(32.8%, 78.6%, 0%, 48.6%)
CIE-LABlab(25.39, 45.48, -45.80)
CIE-LCHlch(25.39, 64.55, 314.80°)
OKLaboklab(37.74% 0.0962 -0.1303)
OKLCHoklch(37.74% 0.162 306.4)
XYZxyz(8.5356, 4.5440, 21.8957)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581C83 #47831C
analogous
#241C83 #581C83 #831C7A
triadic
#581C83 #83581C #1C8358
tetradic
#581C83 #83241C #47831C #1C7A83
square
#581C83 #83241C #47831C #1C7A83
split-complementary
#581C83 #7A831C #1C8324
monochromatic
#14061E #361151 #581C83 #7A27B5 #9943D7

Accessibility & contrast

On white

11.00
#581C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#581C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581C83
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581C83#FFFFFF#000000##FFFFFF
##581C831.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#50364F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581c83;
/* rgb */ color: rgb(88, 28, 131);
/* oklch */ color: oklch(37.7% 0.162 306.4);
Tailwind
colors: {
  custom: {
    50: '#8c5fa8',
    500: '#581c83',
    950: '#000000',
  },
}
SCSS
$custom: #581c83;
$custom-light: #8c5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#581c83",
  "rgb": {
    "r": 88,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 274.951,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.16196,
    "h": 306.4
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#581C83
secondary
#74B645
accent
#E84086
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0D0510
muted
#7D797F

Preview Lab

Preview with #581C83

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

Preview Lab → · Contrast checker → · Palette generator →

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