#5C46BB#5C46BB

#5C46BB is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.176 H 286.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5C46BB
RGBrgb(92, 70, 187)
HSLhsl(251, 46%, 50%)
HSVhsv(251, 63%, 73%)
CMYKcmyk(50.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.27, 39.64, -58.81)
CIE-LCHlch(38.27, 70.92, 303.99°)
OKLaboklab(48.46% 0.0499 -0.1685)
OKLCHoklch(48.46% 0.176 286.5)
XYZxyz(15.5708, 10.2427, 48.1607)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46BB #A5BB46
analogous
#466ABB #5C46BB #9646BB
triadic
#5C46BB #BB5C46 #46BB5C
tetradic
#5C46BB #BB466A #A5BB46 #46BB96
square
#5C46BB #BB466A #A5BB46 #46BB96
split-complementary
#5C46BB #BB9646 #6ABB46
monochromatic
#302462 #46358F #5C46BB #8373CB #ABA0DC

Accessibility & contrast

On white

6.89
#5C46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5C46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46BB
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46BB#FFFFFF#000000##FFFFFF
##5C46BB1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#39627A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c46bb;
/* rgb */ color: rgb(92, 70, 187);
/* oklch */ color: oklch(48.5% 0.176 286.5);
Tailwind
colors: {
  custom: {
    50: '#927ad0',
    500: '#5c46bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c46bb;
$custom-light: #927ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46bb",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 251.282,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.17574,
    "h": 286.5
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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