#581E83#581E83

#581E83 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.160 H 306.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#581E83
RGBrgb(88, 30, 131)
HSLhsl(274, 63%, 32%)
HSVhsv(274, 77%, 51%)
CMYKcmyk(32.8%, 77.1%, 0%, 48.6%)
CIE-LABlab(25.69, 44.64, -45.32)
CIE-LCHlch(25.69, 63.62, 314.56°)
OKLaboklab(37.95% 0.0943 -0.1289)
OKLCHoklch(37.95% 0.16 306.2)
XYZxyz(8.5846, 4.6420, 21.9121)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E83 #49831E
analogous
#251E83 #581E83 #831E7C
triadic
#581E83 #83581E #1E8358
tetradic
#581E83 #83251E #49831E #1E7C83
square
#581E83 #83251E #49831E #1E7C83
split-complementary
#581E83 #7C831E #1E8325
monochromatic
#15071F #371351 #581E83 #7929B5 #9847D5

Accessibility & contrast

On white

10.89
#581E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#581E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E83
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E83#FFFFFF#000000##FFFFFF
##581E831.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#50374F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #581e83;
/* rgb */ color: rgb(88, 30, 131);
/* oklch */ color: oklch(37.9% 0.160 306.2);
Tailwind
colors: {
  custom: {
    50: '#8c60a8',
    500: '#581e83',
    950: '#000000',
  },
}
SCSS
$custom: #581e83;
$custom-light: #8c60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#581e83",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 274.455,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37945,
    "c": 0.1597,
    "h": 306.2
  },
  "luminance": 0.04642
}

Semantic roles & 50–950 ramp

primary
#581E83
secondary
#76B647
accent
#E64288
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #581E83

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

Preview Lab → · Contrast checker → · Palette generator →

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