#5D4FAC#5D4FAC

#5D4FAC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.143 H 286.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5D4FAC
RGBrgb(93, 79, 172)
HSLhsl(249, 37%, 49%)
HSVhsv(249, 54%, 67%)
CMYKcmyk(45.9%, 54.1%, 0%, 32.5%)
CIE-LABlab(39.41, 29.90, -48.12)
CIE-LCHlch(39.41, 56.66, 301.85°)
OKLaboklab(48.98% 0.0413 -0.137)
OKLCHoklch(48.98% 0.143 286.8)
XYZxyz(14.7544, 10.8971, 40.3477)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FAC #9EAC4F
analogous
#4F70AC #5D4FAC #8C4FAC
triadic
#5D4FAC #AC5D4F #4FAC5D
tetradic
#5D4FAC #AC4F70 #9EAC4F #4FAC8C
square
#5D4FAC #AC4F70 #9EAC4F #4FAC8C
split-complementary
#5D4FAC #AC8C4F #70AC4F
monochromatic
#302858 #463C82 #5D4FAC #8277C1 #A9A1D4

Accessibility & contrast

On white

6.60
#5D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5D4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FAC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FAC#FFFFFF#000000##FFFFFF
##5D4FAC1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#1F5AAA
Tritanopia (blue-blind)
#446376
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d4fac;
/* rgb */ color: rgb(93, 79, 172);
/* oklch */ color: oklch(49.0% 0.143 286.8);
Tailwind
colors: {
  custom: {
    50: '#9080c5',
    500: '#5d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fac;
$custom-light: #9080c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fac",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 249.032,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.14312,
    "h": 286.8
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#5D4FAC
secondary
#BBC196
accent
#CD5BBC
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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