#5C46AE#5C46AE

#5C46AE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.5% C 0.159 H 288.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5C46AE
RGBrgb(92, 70, 174)
HSLhsl(253, 43%, 48%)
HSVhsv(253, 60%, 68%)
CMYKcmyk(47.1%, 59.8%, 0%, 31.8%)
CIE-LABlab(37.32, 35.75, -52.68)
CIE-LCHlch(37.32, 63.66, 304.16°)
OKLaboklab(47.46% 0.0506 -0.1505)
OKLCHoklch(47.46% 0.159 288.6)
XYZxyz(14.2416, 9.7111, 41.1602)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C46AE #98AE46
analogous
#4664AE #5C46AE #9046AE
triadic
#5C46AE #AE5C46 #46AE5C
tetradic
#5C46AE #AE4664 #98AE46 #46AE90
square
#5C46AE #AE4664 #98AE46 #46AE90
split-complementary
#5C46AE #AE9046 #64AE46
monochromatic
#2E2357 #453482 #5C46AE #7F6DC4 #A699D6

Accessibility & contrast

On white

7.14
#5C46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5C46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C46AE
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C46AE#FFFFFF#000000##FFFFFF
##5C46AE1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#425E73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5c46ae;
/* rgb */ color: rgb(92, 70, 174);
/* oklch */ color: oklch(47.5% 0.159 288.6);
Tailwind
colors: {
  custom: {
    50: '#907ac7',
    500: '#5c46ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c46ae;
$custom-light: #907ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c46ae",
  "rgb": {
    "r": 92,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 252.692,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.15877,
    "h": 288.6
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#5C46AE
secondary
#B7C28E
accent
#D255B8
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5C46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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