#5C46BD#5C46BD

#5C46BD is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.178 H 286.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5C46BD
RGBrgb(92, 70, 189)
HSLhsl(251, 47%, 51%)
HSVhsv(251, 63%, 74%)
CMYKcmyk(51.3%, 63%, 0%, 25.9%)
CIE-LABlab(38.43, 40.25, -59.73)
CIE-LCHlch(38.43, 72.03, 303.97°)
OKLaboklab(48.62% 0.0497 -0.1712)
OKLCHoklch(48.62% 0.178 286.2)
XYZxyz(15.7864, 10.3290, 49.2961)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46BD #A7BD46
analogous
#466CBD #5C46BD #9746BD
triadic
#5C46BD #BD5C46 #46BD5C
tetradic
#5C46BD #BD466C #A7BD46 #46BD97
square
#5C46BD #BD466C #A7BD46 #46BD97
split-complementary
#5C46BD #BD9746 #6CBD46
monochromatic
#302465 #453492 #5C46BD #8473CD #ABA0DD

Accessibility & contrast

On white

6.85
#5C46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C46BD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46BD#FFFFFF#000000##FFFFFF
##5C46BD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#37637B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5c46bd;
/* rgb */ color: rgb(92, 70, 189);
/* oklch */ color: oklch(48.6% 0.178 286.2);
Tailwind
colors: {
  custom: {
    50: '#927bd2',
    500: '#5c46bd',
    950: '#000000',
  },
}
SCSS
$custom: #5c46bd;
$custom-light: #927bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46bd",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 251.092,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48621,
    "c": 0.17831,
    "h": 286.2
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#5C46BD
secondary
#C0CA95
accent
#D751BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5C46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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