#5A4BDB#5A4BDB

#5A4BDB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.210 H 280.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5A4BDB
RGBrgb(90, 75, 219)
HSLhsl(246, 67%, 58%)
HSVhsv(246, 66%, 86%)
CMYKcmyk(58.9%, 65.8%, 0%, 14.1%)
CIE-LABlab(41.72, 46.18, -71.74)
CIE-LCHlch(41.72, 85.32, 302.77°)
OKLaboklab(51.71% 0.0394 -0.2065)
OKLCHoklch(51.71% 0.21 280.8)
XYZxyz(19.5147, 12.3189, 68.3535)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BDB #CCDB4B
analogous
#4B84DB #5A4BDB #A24BDB
triadic
#5A4BDB #DB5A4B #4BDB5A
tetradic
#5A4BDB #DB4B84 #CCDB4B #4BDBA2
square
#5A4BDB #DB4B84 #CCDB4B #4BDBA2
split-complementary
#5A4BDB #DBA24B #84DB4B
monochromatic
#291D8F #3727C2 #5A4BDB #897EE5 #B7B1EF

Accessibility & contrast

On white

6.06
#5A4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5A4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BDB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BDB#FFFFFF#000000##FFFFFF
##5A4BDB1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00708D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a4bdb;
/* rgb */ color: rgb(90, 75, 219);
/* oklch */ color: oklch(51.7% 0.210 280.8);
Tailwind
colors: {
  custom: {
    50: '#957ee7',
    500: '#5a4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bdb;
$custom-light: #957ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bdb",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 246.25,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.21026,
    "h": 280.8
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#5A4BDB
secondary
#D8DEA4
accent
#EA3ED8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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