#5C46CA#5C46CA

#5C46CA is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.7% C 0.195 H 284.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5C46CA
RGBrgb(92, 70, 202)
HSLhsl(250, 55%, 53%)
HSVhsv(250, 65%, 79%)
CMYKcmyk(54.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(39.44, 44.17, -65.66)
CIE-LCHlch(39.44, 79.13, 303.93°)
OKLaboklab(49.68% 0.0484 -0.1886)
OKLCHoklch(49.68% 0.195 284.4)
XYZxyz(17.2612, 10.9189, 57.0637)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46CA #B4CA46
analogous
#4672CA #5C46CA #9E46CA
triadic
#5C46CA #CA5C46 #46CA5C
tetradic
#5C46CA #CA4672 #B4CA46 #46CA9E
square
#5C46CA #CA4672 #B4CA46 #46CA9E
split-complementary
#5C46CA #CA9E46 #72CA46
monochromatic
#2F2174 #422FA4 #5C46CA #8676D8 #B0A5E5

Accessibility & contrast

On white

6.60
#5C46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5C46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C46CA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46CA#FFFFFF#000000##FFFFFF
##5C46CA1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#2B6782
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c46ca;
/* rgb */ color: rgb(92, 70, 202);
/* oklch */ color: oklch(49.7% 0.195 284.4);
Tailwind
colors: {
  custom: {
    50: '#947bdb',
    500: '#5c46ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c46ca;
$custom-light: #947bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46ca",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 250,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49677,
    "c": 0.19475,
    "h": 284.4
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#5C46CA
secondary
#C9D29A
accent
#DF49C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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