#5429AB#5429AB

#5429AB is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.191 H 290.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#5429AB
RGBrgb(84, 41, 171)
HSLhsl(260, 61%, 42%)
HSVhsv(260, 76%, 67%)
CMYKcmyk(50.9%, 76%, 0%, 32.9%)
CIE-LABlab(30.43, 49.31, -62.16)
CIE-LCHlch(30.43, 79.34, 308.42°)
OKLaboklab(42.24% 0.0683 -0.1785)
OKLCHoklch(42.24% 0.191 290.9)
XYZxyz(11.7977, 6.4105, 39.1359)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5429AB #80AB29
analogous
#293FAB #5429AB #9529AB
triadic
#5429AB #AB5429 #29AB54
tetradic
#5429AB #AB293F #80AB29 #29AB95
square
#5429AB #AB293F #80AB29 #29AB95
split-complementary
#5429AB #AB9529 #3FAB29
monochromatic
#241148 #3C1D7A #5429AB #7040D1 #9571DD

Accessibility & contrast

On white

9.20
#5429AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5429AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5429AB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5429AB#FFFFFF#000000##FFFFFF
##5429AB1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#364D68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5429ab;
/* rgb */ color: rgb(84, 41, 171);
/* oklch */ color: oklch(42.2% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#8d68c5',
    500: '#5429ab',
    950: '#000000',
  },
}
SCSS
$custom: #5429ab;
$custom-light: #8d68c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5429ab",
  "rgb": {
    "r": 84,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 259.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.19116,
    "h": 290.9
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#5429AB
secondary
#A7C46C
accent
#E443AF
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5429AB

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

Preview Lab → · Contrast checker → · Palette generator →

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