#5C46BE#5C46BE

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

Color values

HEX#5C46BE
RGBrgb(92, 70, 190)
HSLhsl(251, 48%, 51%)
HSVhsv(251, 63%, 75%)
CMYKcmyk(51.6%, 63.2%, 0%, 25.5%)
CIE-LABlab(38.50, 40.55, -60.20)
CIE-LCHlch(38.50, 72.58, 303.96°)
OKLaboklab(48.7% 0.0497 -0.1726)
OKLCHoklch(48.7% 0.18 286.1)
XYZxyz(15.8953, 10.3725, 49.8698)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46BE #A8BE46
analogous
#466CBE #5C46BE #9846BE
triadic
#5C46BE #BE5C46 #46BE5C
tetradic
#5C46BE #BE466C #A8BE46 #46BE98
square
#5C46BE #BE466C #A8BE46 #46BE98
split-complementary
#5C46BE #BE9846 #6CBE46
monochromatic
#302466 #453493 #5C46BE #8473CE #ACA1DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C46BE#FFFFFF#000000##FFFFFF
##5C46BE1.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)
#005EC2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#37637B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5c46be;
/* rgb */ color: rgb(92, 70, 190);
/* oklch */ color: oklch(48.7% 0.180 286.1);
Tailwind
colors: {
  custom: {
    50: '#927bd2',
    500: '#5c46be',
    950: '#000000',
  },
}
SCSS
$custom: #5c46be;
$custom-light: #927bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46be",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 251,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.17959,
    "h": 286.1
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#5C46BE
secondary
#C1CA95
accent
#D850BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5C46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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