#5D49AF#5D49AF

#5D49AF is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.1% C 0.156 H 288.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#5D49AF
RGBrgb(93, 73, 175)
HSLhsl(252, 41%, 49%)
HSVhsv(252, 58%, 69%)
CMYKcmyk(46.9%, 58.3%, 0%, 31.4%)
CIE-LABlab(38.18, 34.46, -51.89)
CIE-LCHlch(38.18, 62.29, 303.59°)
OKLaboklab(48.14% 0.0485 -0.1481)
OKLCHoklch(48.14% 0.156 288.1)
XYZxyz(14.6324, 10.1868, 41.7444)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49AF #9BAF49
analogous
#4968AF #5D49AF #9049AF
triadic
#5D49AF #AF5D49 #49AF5D
tetradic
#5D49AF #AF4968 #9BAF49 #49AF90
square
#5D49AF #AF4968 #9BAF49 #49AF90
split-complementary
#5D49AF #AF9049 #68AF49
monochromatic
#2F2559 #463784 #5D49AF #8171C4 #A89CD6

Accessibility & contrast

On white

6.91
#5D49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5D49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49AF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49AF#FFFFFF#000000##FFFFFF
##5D49AF1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#436075
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d49af;
/* rgb */ color: rgb(93, 73, 175);
/* oklch */ color: oklch(48.1% 0.156 288.1);
Tailwind
colors: {
  custom: {
    50: '#917cc8',
    500: '#5d49af',
    950: '#000000',
  },
}
SCSS
$custom: #5d49af;
$custom-light: #917cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49af",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 251.765,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.15584,
    "h": 288.1
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#5D49AF
secondary
#B9C291
accent
#D157B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5D49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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