#5D49AD#5D49AD

#5D49AD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.0% C 0.153 H 288.5°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5D49AD
RGBrgb(93, 73, 173)
HSLhsl(252, 41%, 48%)
HSVhsv(252, 58%, 68%)
CMYKcmyk(46.2%, 57.8%, 0%, 32.2%)
CIE-LABlab(38.04, 33.86, -50.92)
CIE-LCHlch(38.04, 61.15, 303.62°)
OKLaboklab(47.99% 0.0485 -0.1453)
OKLCHoklch(47.99% 0.153 288.5)
XYZxyz(14.4374, 10.1088, 40.7175)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49AD #99AD49
analogous
#4967AD #5D49AD #8F49AD
triadic
#5D49AD #AD5D49 #49AD5D
tetradic
#5D49AD #AD4967 #99AD49 #49AD8F
square
#5D49AD #AD4967 #99AD49 #49AD8F
split-complementary
#5D49AD #AD8F49 #67AD49
monochromatic
#2F2557 #463782 #5D49AD #8170C3 #A79BD5

Accessibility & contrast

On white

6.95
#5D49AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5D49AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49AD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49AD#FFFFFF#000000##FFFFFF
##5D49AD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB0
Deuteranopia (green-blind)
#0857AB
Tritanopia (blue-blind)
#445F74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d49ad;
/* rgb */ color: rgb(93, 73, 173);
/* oklch */ color: oklch(48.0% 0.153 288.5);
Tailwind
colors: {
  custom: {
    50: '#917cc6',
    500: '#5d49ad',
    950: '#000000',
  },
}
SCSS
$custom: #5d49ad;
$custom-light: #917cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49ad",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 173
  },
  "hsl": {
    "h": 252,
    "s": 40.65,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.15316,
    "h": 288.5
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#5D49AD
secondary
#B8C190
accent
#D157B8
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5D49AD

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

Preview Lab → · Contrast checker → · Palette generator →

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