#5829AD#5829AD

#5829AD is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.193 H 292.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#5829AD
RGBrgb(88, 41, 173)
HSLhsl(261, 62%, 42%)
HSVhsv(261, 76%, 68%)
CMYKcmyk(49.1%, 76.3%, 0%, 32.2%)
CIE-LABlab(31.06, 50.46, -62.30)
CIE-LCHlch(31.06, 80.17, 309.01°)
OKLaboklab(42.84% 0.0738 -0.1788)
OKLCHoklch(42.84% 0.193 292.4)
XYZxyz(12.3582, 6.6773, 40.1648)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829AD #7EAD29
analogous
#293CAD #5829AD #9A29AD
triadic
#5829AD #AD5829 #29AD58
tetradic
#5829AD #AD293C #7EAD29 #29AD9A
square
#5829AD #AD293C #7EAD29 #29AD9A
split-complementary
#5829AD #AD9A29 #3CAD29
monochromatic
#26124A #3F1D7C #5829AD #7541D2 #9973DE

Accessibility & contrast

On white

8.99
#5829AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5829AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5829AD
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5829AD#FFFFFF#000000##FFFFFF
##5829AD1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#3D4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5829ad;
/* rgb */ color: rgb(88, 41, 173);
/* oklch */ color: oklch(42.8% 0.193 292.4);
Tailwind
colors: {
  custom: {
    50: '#9068c7',
    500: '#5829ad',
    950: '#000000',
  },
}
SCSS
$custom: #5829ad;
$custom-light: #9068c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5829ad",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 261.364,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42843,
    "c": 0.19345,
    "h": 292.4
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#5829AD
secondary
#A6C56D
accent
#E543AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5829AD

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

Preview Lab → · Contrast checker → · Palette generator →

#5829AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva