#5C47BB#5C47BB

#5C47BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.174 H 286.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5C47BB
RGBrgb(92, 71, 187)
HSLhsl(251, 46%, 51%)
HSVhsv(251, 62%, 73%)
CMYKcmyk(50.8%, 62%, 0%, 26.7%)
CIE-LABlab(38.50, 39.06, -58.45)
CIE-LCHlch(38.50, 70.30, 303.75°)
OKLaboklab(48.63% 0.0489 -0.1674)
OKLCHoklch(48.63% 0.174 286.3)
XYZxyz(15.6339, 10.3689, 48.1817)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C47BB #A6BB47
analogous
#476CBB #5C47BB #9647BB
triadic
#5C47BB #BB5C47 #47BB5C
tetradic
#5C47BB #BB476C #A6BB47 #47BB96
square
#5C47BB #BB476C #A6BB47 #47BB96
split-complementary
#5C47BB #BB9647 #6CBB47
monochromatic
#302563 #463590 #5C47BB #8474CC #ABA0DC

Accessibility & contrast

On white

6.83
#5C47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5C47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C47BB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C47BB#FFFFFF#000000##FFFFFF
##5C47BB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#39637A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c47bb;
/* rgb */ color: rgb(92, 71, 187);
/* oklch */ color: oklch(48.6% 0.174 286.3);
Tailwind
colors: {
  custom: {
    50: '#927bd0',
    500: '#5c47bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c47bb;
$custom-light: #927bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c47bb",
  "rgb": {
    "r": 92,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 250.862,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.17443,
    "h": 286.3
  },
  "luminance": 0.1037
}

Semantic roles & 50–950 ramp

primary
#5C47BB
secondary
#BFC995
accent
#D652BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5C47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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