#5829A5#5829A5

#5829A5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.184 H 294.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#5829A5
RGBrgb(88, 41, 165)
HSLhsl(263, 60%, 40%)
HSVhsv(263, 75%, 65%)
CMYKcmyk(46.7%, 75.2%, 0%, 35.3%)
CIE-LABlab(30.34, 48.31, -58.66)
CIE-LCHlch(30.34, 75.99, 309.47°)
OKLaboklab(42.12% 0.0759 -0.1681)
OKLCHoklch(42.12% 0.184 294.3)
XYZxyz(11.6071, 6.3769, 36.2093)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829A5 #76A529
analogous
#2938A5 #5829A5 #9629A5
triadic
#5829A5 #A55829 #29A558
tetradic
#5829A5 #A52938 #76A529 #29A596
square
#5829A5 #A52938 #76A529 #29A596
split-complementary
#5829A5 #A59629 #38A529
monochromatic
#241143 #3E1D74 #5829A5 #743DCF #976EDB

Accessibility & contrast

On white

9.23
#5829A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5829A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5829A5#FFFFFF#000000##FFFFFF
##5829A51.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0045A3
Tritanopia (blue-blind)
#414A65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5829a5;
/* rgb */ color: rgb(88, 41, 165);
/* oklch */ color: oklch(42.1% 0.184 294.3);
Tailwind
colors: {
  custom: {
    50: '#8f68c1',
    500: '#5829a5',
    950: '#000000',
  },
}
SCSS
$custom: #5829a5;
$custom-light: #8f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5829a5",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 262.742,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4212,
    "c": 0.18449,
    "h": 294.3
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#5829A5
secondary
#A0C268
accent
#E344A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5829A5

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

Preview Lab → · Contrast checker → · Palette generator →

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