#5D4FCF#5D4FCF

#5D4FCF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.6% C 0.190 H 282.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5D4FCF
RGBrgb(93, 79, 207)
HSLhsl(247, 57%, 56%)
HSVhsv(247, 62%, 81%)
CMYKcmyk(55.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(41.88, 40.64, -64.57)
CIE-LCHlch(41.88, 76.30, 302.19°)
OKLaboklab(51.59% 0.0408 -0.1854)
OKLCHoklch(51.59% 0.19 282.4)
XYZxyz(18.5692, 12.4230, 60.4388)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FCF #C1CF4F
analogous
#4F81CF #5D4FCF #9D4FCF
triadic
#5D4FCF #CF5D4F #4FCF5D
tetradic
#5D4FCF #CF4F81 #C1CF4F #4FCF9D
square
#5D4FCF #CF4F81 #C1CF4F #4FCF9D
split-complementary
#5D4FCF #CF9D4F #81CF4F
monochromatic
#2D2381 #3E30B1 #5D4FCF #897FDC #B6AFE9

Accessibility & contrast

On white

6.03
#5D4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FCF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FCF#FFFFFF#000000##FFFFFF
##5D4FCF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#276E87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4fcf;
/* rgb */ color: rgb(93, 79, 207);
/* oklch */ color: oklch(51.6% 0.190 282.4);
Tailwind
colors: {
  custom: {
    50: '#9581df',
    500: '#5d4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fcf;
$custom-light: #9581df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fcf",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 246.563,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.18984,
    "h": 282.4
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#5D4FCF
secondary
#D2D7A2
accent
#E047D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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