#5D46AE#5D46AE

#5D46AE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.6% C 0.159 H 289.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5D46AE
RGBrgb(93, 70, 174)
HSLhsl(253, 43%, 48%)
HSVhsv(253, 60%, 68%)
CMYKcmyk(46.6%, 59.8%, 0%, 31.8%)
CIE-LABlab(37.41, 35.96, -52.52)
CIE-LCHlch(37.41, 63.66, 304.40°)
OKLaboklab(47.56% 0.052 -0.15)
OKLCHoklch(47.56% 0.159 289.1)
XYZxyz(14.3422, 9.7629, 41.1649)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46AE #97AE46
analogous
#4663AE #5D46AE #9146AE
triadic
#5D46AE #AE5D46 #46AE5D
tetradic
#5D46AE #AE4663 #97AE46 #46AE91
square
#5D46AE #AE4663 #97AE46 #46AE91
split-complementary
#5D46AE #AE9146 #63AE46
monochromatic
#2E2357 #463482 #5D46AE #806DC4 #A699D6

Accessibility & contrast

On white

7.11
#5D46AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5D46AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D46AE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46AE#FFFFFF#000000##FFFFFF
##5D46AE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d46ae;
/* rgb */ color: rgb(93, 70, 174);
/* oklch */ color: oklch(47.6% 0.159 289.1);
Tailwind
colors: {
  custom: {
    50: '#917ac7',
    500: '#5d46ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d46ae;
$custom-light: #917ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46ae",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 174
  },
  "hsl": {
    "h": 253.269,
    "s": 42.623,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.15874,
    "h": 289.1
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#5D46AE
secondary
#B6C28E
accent
#D255B7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5D46AE

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

Preview Lab → · Contrast checker → · Palette generator →

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