#5A4ADB#5A4ADB

#5A4ADB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.6% C 0.211 H 281.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5A4ADB
RGBrgb(90, 74, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(58.9%, 66.2%, 0%, 14.1%)
CIE-LABlab(41.51, 46.75, -72.08)
CIE-LCHlch(41.51, 85.92, 302.97°)
OKLaboklab(51.56% 0.0403 -0.2075)
OKLCHoklch(51.56% 0.211 281)
XYZxyz(19.4474, 12.1843, 68.3311)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4ADB #CBDB4A
analogous
#4A82DB #5A4ADB #A34ADB
triadic
#5A4ADB #DB5A4A #4ADB5A
tetradic
#5A4ADB #DB4A82 #CBDB4A #4ADBA3
square
#5A4ADB #DB4A82 #CBDB4A #4ADBA3
split-complementary
#5A4ADB #DBA34A #82DB4A
monochromatic
#291C8E #3826C1 #5A4ADB #897DE5 #B7B0EF

Accessibility & contrast

On white

6.11
#5A4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5A4ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4ADB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4ADB#FFFFFF#000000##FFFFFF
##5A4ADB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4adb;
/* rgb */ color: rgb(90, 74, 219);
/* oklch */ color: oklch(51.6% 0.211 281.0);
Tailwind
colors: {
  custom: {
    50: '#967ee7',
    500: '#5a4adb',
    950: '#000000',
  },
}
SCSS
$custom: #5a4adb;
$custom-light: #967ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4adb",
  "rgb": {
    "r": 90,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 246.621,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.21142,
    "h": 281
  },
  "luminance": 0.12186
}

Semantic roles & 50–950 ramp

primary
#5A4ADB
secondary
#D7DEA3
accent
#EA3ED7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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