#5829AA#5829AA

#5829AA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.190 H 293.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#5829AA
RGBrgb(88, 41, 170)
HSLhsl(262, 61%, 41%)
HSVhsv(262, 76%, 67%)
CMYKcmyk(48.2%, 75.9%, 0%, 33.3%)
CIE-LABlab(30.79, 49.65, -60.94)
CIE-LCHlch(30.79, 78.61, 309.17°)
OKLaboklab(42.57% 0.0746 -0.1748)
OKLCHoklch(42.57% 0.19 293.1)
XYZxyz(12.0711, 6.5625, 38.6531)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829AA #7BAA29
analogous
#293BAA #5829AA #9929AA
triadic
#5829AA #AA5829 #29AA58
tetradic
#5829AA #AA293B #7BAA29 #29AA99
square
#5829AA #AA293B #7BAA29 #29AA99
split-complementary
#5829AA #AA9929 #3BAA29
monochromatic
#251147 #3E1D79 #5829AA #743FD1 #9871DD

Accessibility & contrast

On white

9.08
#5829AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5829AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5829AA#FFFFFF#000000##FFFFFF
##5829AA1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#3F4C68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5829aa;
/* rgb */ color: rgb(88, 41, 170);
/* oklch */ color: oklch(42.6% 0.190 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f68c4',
    500: '#5829aa',
    950: '#000000',
  },
}
SCSS
$custom: #5829aa;
$custom-light: #8f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5829aa",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 261.86,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.1901,
    "h": 293.1
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#5829AA
secondary
#A3C46B
accent
#E444AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5829AA

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

Preview Lab → · Contrast checker → · Palette generator →

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