#5A4BD4#5A4BD4

#5A4BD4 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.1% C 0.202 H 281.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5A4BD4
RGBrgb(90, 75, 212)
HSLhsl(247, 61%, 56%)
HSVhsv(247, 65%, 83%)
CMYKcmyk(57.5%, 64.6%, 0%, 16.9%)
CIE-LABlab(41.15, 44.02, -68.65)
CIE-LCHlch(41.15, 81.55, 302.67°)
OKLaboklab(51.12% 0.0402 -0.1975)
OKLCHoklch(51.12% 0.202 281.5)
XYZxyz(18.6125, 11.9580, 63.6019)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BD4 #C5D44B
analogous
#4B81D4 #5A4BD4 #9F4BD4
triadic
#5A4BD4 #D45A4B #4BD45A
tetradic
#5A4BD4 #D44B81 #C5D44B #4BD49F
square
#5A4BD4 #D44B81 #C5D44B #4BD49F
split-complementary
#5A4BD4 #D49F4B #81D44B
monochromatic
#2B2085 #3B2CB6 #5A4BD4 #877CE0 #B5AEEC

Accessibility & contrast

On white

6.19
#5A4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5A4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BD4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BD4#FFFFFF#000000##FFFFFF
##5A4BD41.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#106E89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a4bd4;
/* rgb */ color: rgb(90, 75, 212);
/* oklch */ color: oklch(51.1% 0.202 281.5);
Tailwind
colors: {
  custom: {
    50: '#947ee2',
    500: '#5a4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bd4;
$custom-light: #947ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bd4",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 246.569,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.20154,
    "h": 281.5
  },
  "luminance": 0.11959
}

Semantic roles & 50–950 ramp

primary
#5A4BD4
secondary
#D3DAA1
accent
#E543D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5A4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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