#5A4BD3#5A4BD3

#5A4BD3 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.0% C 0.200 H 281.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A4BD3
RGBrgb(90, 75, 211)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 64%, 83%)
CMYKcmyk(57.3%, 64.5%, 0%, 17.3%)
CIE-LABlab(41.07, 43.71, -68.21)
CIE-LCHlch(41.07, 81.01, 302.65°)
OKLaboklab(51.04% 0.0403 -0.1962)
OKLCHoklch(51.04% 0.2 281.6)
XYZxyz(18.4867, 11.9077, 62.9397)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BD3 #C4D34B
analogous
#4B80D3 #5A4BD3 #9E4BD3
triadic
#5A4BD3 #D35A4B #4BD35A
tetradic
#5A4BD3 #D34B80 #C4D34B #4BD39E
square
#5A4BD3 #D34B80 #C4D34B #4BD39E
split-complementary
#5A4BD3 #D39E4B #80D34B
monochromatic
#2B2083 #3B2CB5 #5A4BD3 #877CDF #B4ADEB

Accessibility & contrast

On white

6.21
#5A4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BD3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BD3#FFFFFF#000000##FFFFFF
##5A4BD31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#136D88
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a4bd3;
/* rgb */ color: rgb(90, 75, 211);
/* oklch */ color: oklch(51.0% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#947ee2',
    500: '#5a4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bd3;
$custom-light: #947ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bd3",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 246.618,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.20028,
    "h": 281.6
  },
  "luminance": 0.11909
}

Semantic roles & 50–950 ramp

primary
#5A4BD3
secondary
#D3D9A1
accent
#E444D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5A4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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