#5429A2#5429A2

#5429A2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.181 H 293.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#5429A2
RGBrgb(84, 41, 162)
HSLhsl(261, 60%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(48.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(29.61, 46.83, -58.06)
CIE-LCHlch(29.61, 74.60, 308.89°)
OKLaboklab(41.42% 0.0706 -0.1665)
OKLCHoklch(41.42% 0.181 293)
XYZxyz(10.9689, 6.0790, 34.7708)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5429A2 #77A229
analogous
#293BA2 #5429A2 #9029A2
triadic
#5429A2 #A25429 #29A254
tetradic
#5429A2 #A2293B #77A229 #29A290
square
#5429A2 #A2293B #77A229 #29A290
split-complementary
#5429A2 #A29029 #3BA229
monochromatic
#211040 #3B1D71 #5429A2 #6F3BCD #936CDA

Accessibility & contrast

On white

9.48
#5429A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5429A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5429A2
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5429A2#FFFFFF#000000##FFFFFF
##5429A21.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3C4963
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5429a2;
/* rgb */ color: rgb(84, 41, 162);
/* oklch */ color: oklch(41.4% 0.181 293.0);
Tailwind
colors: {
  custom: {
    50: '#8c67bf',
    500: '#5429a2',
    950: '#000000',
  },
}
SCSS
$custom: #5429a2;
$custom-light: #8c67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5429a2",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 261.322,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.18089,
    "h": 293
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#5429A2
secondary
#A0C067
accent
#E345AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5429A2

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

Preview Lab → · Contrast checker → · Palette generator →

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