#5D47BC#5D47BC

#5D47BC is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.8% C 0.176 H 286.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5D47BC
RGBrgb(93, 71, 188)
HSLhsl(251, 47%, 51%)
HSVhsv(251, 62%, 74%)
CMYKcmyk(50.5%, 62.2%, 0%, 26.3%)
CIE-LABlab(38.66, 39.55, -58.76)
CIE-LCHlch(38.66, 70.83, 303.94°)
OKLaboklab(48.79% 0.0501 -0.1683)
OKLCHoklch(48.79% 0.176 286.6)
XYZxyz(15.8419, 10.4637, 48.7522)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D47BC #A6BC47
analogous
#476BBC #5D47BC #9747BC
triadic
#5D47BC #BC5D47 #47BC5D
tetradic
#5D47BC #BC476B #A6BC47 #47BC97
square
#5D47BC #BC476B #A6BC47 #47BC97
split-complementary
#5D47BC #BC9747 #6BBC47
monochromatic
#302464 #463591 #5D47BC #8474CC #ACA1DD

Accessibility & contrast

On white

6.79
#5D47BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D47BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D47BC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D47BC#FFFFFF#000000##FFFFFF
##5D47BC1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#3A637B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d47bc;
/* rgb */ color: rgb(93, 71, 188);
/* oklch */ color: oklch(48.8% 0.176 286.6);
Tailwind
colors: {
  custom: {
    50: '#937bd1',
    500: '#5d47bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d47bc;
$custom-light: #937bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d47bc",
  "rgb": {
    "r": 93,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 251.282,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48791,
    "c": 0.17564,
    "h": 286.6
  },
  "luminance": 0.10464
}

Semantic roles & 50–950 ramp

primary
#5D47BC
secondary
#C0C995
accent
#D652BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5D47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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