#5829A2#5829A2

#5829A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.181 H 295.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#5829A2
RGBrgb(88, 41, 162)
HSLhsl(263, 60%, 40%)
HSVhsv(263, 75%, 64%)
CMYKcmyk(45.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(30.08, 47.50, -57.28)
CIE-LCHlch(30.08, 74.41, 309.67°)
OKLaboklab(41.85% 0.0767 -0.1641)
OKLCHoklch(41.85% 0.181 295)
XYZxyz(11.3373, 6.2689, 34.7881)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5829A2 #73A229
analogous
#2936A2 #5829A2 #9529A2
triadic
#5829A2 #A25829 #29A258
tetradic
#5829A2 #A22936 #73A229 #29A295
square
#5829A2 #A22936 #73A229 #29A295
split-complementary
#5829A2 #A29529 #36A229
monochromatic
#231040 #3D1D71 #5829A2 #743BCD #966CDA

Accessibility & contrast

On white

9.32
#5829A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5829A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5829A2#FFFFFF#000000##FFFFFF
##5829A21.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#434963
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5829a2;
/* rgb */ color: rgb(88, 41, 162);
/* oklch */ color: oklch(41.9% 0.181 295.0);
Tailwind
colors: {
  custom: {
    50: '#8e68bf',
    500: '#5829a2',
    950: '#000000',
  },
}
SCSS
$custom: #5829a2;
$custom-light: #8e68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5829a2",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 263.306,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41854,
    "c": 0.18111,
    "h": 295
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#5829A2
secondary
#9DC067
accent
#E345A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5829A2

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

Preview Lab → · Contrast checker → · Palette generator →

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