#5A43AB#5A43AB

#5A43AB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.5% C 0.159 H 288.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5A43AB
RGBrgb(90, 67, 171)
HSLhsl(253, 44%, 47%)
HSVhsv(253, 61%, 67%)
CMYKcmyk(47.4%, 60.8%, 0%, 32.9%)
CIE-LABlab(36.23, 36.22, -52.67)
CIE-LCHlch(36.23, 63.92, 304.51°)
OKLaboklab(46.55% 0.0514 -0.1505)
OKLCHoklch(46.55% 0.159 288.9)
XYZxyz(13.5722, 9.1277, 39.5669)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A43AB #94AB43
analogous
#4360AB #5A43AB #8E43AB
triadic
#5A43AB #AB5A43 #43AB5A
tetradic
#5A43AB #AB4360 #94AB43 #43AB8E
square
#5A43AB #AB4360 #94AB43 #43AB8E
split-complementary
#5A43AB #AB8E43 #60AB43
monochromatic
#2C2153 #43327F #5A43AB #7C68C4 #A294D5

Accessibility & contrast

On white

7.43
#5A43AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#5A43AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A43AB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A43AB#FFFFFF#000000##FFFFFF
##5A43AB1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#405B70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5a43ab;
/* rgb */ color: rgb(90, 67, 171);
/* oklch */ color: oklch(46.5% 0.159 288.9);
Tailwind
colors: {
  custom: {
    50: '#8f78c5',
    500: '#5a43ab',
    950: '#000000',
  },
}
SCSS
$custom: #5a43ab;
$custom-light: #8f78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a43ab",
  "rgb": {
    "r": 90,
    "g": 67,
    "b": 171
  },
  "hsl": {
    "h": 253.269,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.15907,
    "h": 288.9
  },
  "luminance": 0.09128
}

Semantic roles & 50–950 ramp

primary
#5A43AB
secondary
#B4C089
accent
#D354B7
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5A43AB

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

Preview Lab → · Contrast checker → · Palette generator →

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