#5D47BF#5D47BF

#5D47BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.179 H 286.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5D47BF
RGBrgb(93, 71, 191)
HSLhsl(251, 48%, 51%)
HSVhsv(251, 63%, 75%)
CMYKcmyk(51.3%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.89, 40.45, -60.15)
CIE-LCHlch(38.89, 72.49, 303.92°)
OKLaboklab(49.03% 0.0499 -0.1724)
OKLCHoklch(49.03% 0.18 286.1)
XYZxyz(16.1686, 10.5944, 50.4731)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47BF #A9BF47
analogous
#476DBF #5D47BF #9947BF
triadic
#5D47BF #BF5D47 #47BF5D
tetradic
#5D47BF #BF476D #A9BF47 #47BF99
square
#5D47BF #BF476D #A9BF47 #47BF99
split-complementary
#5D47BF #BF9947 #6DBF47
monochromatic
#302468 #463495 #5D47BF #8574CF #ADA2DF

Accessibility & contrast

On white

6.73
#5D47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47BF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47BF#FFFFFF#000000##FFFFFF
##5D47BF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#38647C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d47bf;
/* rgb */ color: rgb(93, 71, 191);
/* oklch */ color: oklch(49.0% 0.179 286.1);
Tailwind
colors: {
  custom: {
    50: '#937bd3',
    500: '#5d47bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d47bf;
$custom-light: #937bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47bf",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 251,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.1795,
    "h": 286.1
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#5D47BF
secondary
#C2CB96
accent
#D850BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5D47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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