#5A4BC0#5A4BC0

#5A4BC0 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.5% C 0.176 H 283.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5A4BC0
RGBrgb(90, 75, 192)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 61%, 75%)
CMYKcmyk(53.1%, 60.9%, 0%, 24.7%)
CIE-LABlab(39.60, 37.83, -59.59)
CIE-LCHlch(39.60, 70.58, 302.40°)
OKLaboklab(49.51% 0.0418 -0.1709)
OKLCHoklch(49.51% 0.176 283.7)
XYZxyz(16.2441, 11.0107, 51.1283)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BC0 #B1C04B
analogous
#4B77C0 #5A4BC0 #944BC0
triadic
#5A4BC0 #C05A4B #4BC05A
tetradic
#5A4BC0 #C04B77 #B1C04B #4BC094
square
#5A4BC0 #C04B77 #B1C04B #4BC094
split-complementary
#5A4BC0 #C0944B #77C04B
monochromatic
#2E256B #423598 #5A4BC0 #8478D0 #ADA6E0

Accessibility & contrast

On white

6.56
#5A4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5A4BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BC0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BC0#FFFFFF#000000##FFFFFF
##5A4BC01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#2F677E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a4bc0;
/* rgb */ color: rgb(90, 75, 192);
/* oklch */ color: oklch(49.5% 0.176 283.7);
Tailwind
colors: {
  custom: {
    50: '#917ed4',
    500: '#5a4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bc0;
$custom-light: #917ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bc0",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 247.692,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.1759,
    "h": 283.7
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#5A4BC0
secondary
#C6CD9A
accent
#D850C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5A4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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