#5A29AF#5A29AF

#5A29AF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.196 H 292.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5A29AF
RGBrgb(90, 41, 175)
HSLhsl(262, 62%, 42%)
HSVhsv(262, 77%, 69%)
CMYKcmyk(48.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(31.47, 51.30, -62.81)
CIE-LCHlch(31.47, 81.09, 309.24°)
OKLaboklab(43.24% 0.0763 -0.1802)
OKLCHoklch(43.24% 0.196 292.9)
XYZxyz(12.7451, 6.8542, 41.2006)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A29AF #7EAF29
analogous
#293BAF #5A29AF #9D29AF
triadic
#5A29AF #AF5A29 #29AF5A
tetradic
#5A29AF #AF293B #7EAF29 #29AF9D
square
#5A29AF #AF293B #7EAF29 #29AF9D
split-complementary
#5A29AF #AF9D29 #3BAF29
monochromatic
#27124C #401D7D #5A29AF #7742D3 #9B74DE

Accessibility & contrast

On white

8.86
#5A29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5A29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A29AF
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A29AF#FFFFFF#000000##FFFFFF
##5A29AF1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#3F4E6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5a29af;
/* rgb */ color: rgb(90, 41, 175);
/* oklch */ color: oklch(43.2% 0.196 292.9);
Tailwind
colors: {
  custom: {
    50: '#9168c8',
    500: '#5a29af',
    950: '#000000',
  },
}
SCSS
$custom: #5a29af;
$custom-light: #9168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a29af",
  "rgb": {
    "r": 90,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 261.94,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4324,
    "c": 0.19573,
    "h": 292.9
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#5A29AF
secondary
#A6C66E
accent
#E543AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5A29AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5A29AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva