#5C47BF#5C47BF

#5C47BF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.180 H 285.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5C47BF
RGBrgb(92, 71, 191)
HSLhsl(251, 48%, 51%)
HSVhsv(251, 63%, 75%)
CMYKcmyk(51.8%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.80, 40.26, -60.30)
CIE-LCHlch(38.80, 72.51, 303.73°)
OKLaboklab(48.94% 0.0486 -0.1729)
OKLCHoklch(48.94% 0.18 285.7)
XYZxyz(16.0680, 10.5426, 50.4684)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47BF #AABF47
analogous
#476EBF #5C47BF #9847BF
triadic
#5C47BF #BF5C47 #47BF5C
tetradic
#5C47BF #BF476E #AABF47 #47BF98
square
#5C47BF #BF476E #AABF47 #47BF98
split-complementary
#5C47BF #BF9847 #6EBF47
monochromatic
#302468 #453495 #5C47BF #8474CF #ACA2DF

Accessibility & contrast

On white

6.76
#5C47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5C47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47BF#FFFFFF#000000##FFFFFF
##5C47BF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c47bf;
/* rgb */ color: rgb(92, 71, 191);
/* oklch */ color: oklch(48.9% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#927bd3',
    500: '#5c47bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c47bf;
$custom-light: #927bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47bf",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 250.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.17958,
    "h": 285.7
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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