#5E49AF#5E49AF

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

Color values

HEX#5E49AF
RGBrgb(94, 73, 175)
HSLhsl(252, 41%, 49%)
HSVhsv(252, 58%, 69%)
CMYKcmyk(46.3%, 58.3%, 0%, 31.4%)
CIE-LABlab(38.27, 34.68, -51.73)
CIE-LCHlch(38.27, 62.28, 303.84°)
OKLaboklab(48.23% 0.0498 -0.1476)
OKLCHoklch(48.23% 0.156 288.6)
XYZxyz(14.7343, 10.2393, 41.7492)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49AF #9AAF49
analogous
#4967AF #5E49AF #9149AF
triadic
#5E49AF #AF5E49 #49AF5E
tetradic
#5E49AF #AF4967 #9AAF49 #49AF91
square
#5E49AF #AF4967 #9AAF49 #49AF91
split-complementary
#5E49AF #AF9149 #67AF49
monochromatic
#302559 #473784 #5E49AF #8271C4 #A89CD6

Accessibility & contrast

On white

6.89
#5E49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49AF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49AF#FFFFFF#000000##FFFFFF
##5E49AF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e49af;
/* rgb */ color: rgb(94, 73, 175);
/* oklch */ color: oklch(48.2% 0.156 288.6);
Tailwind
colors: {
  custom: {
    50: '#917cc8',
    500: '#5e49af',
    950: '#000000',
  },
}
SCSS
$custom: #5e49af;
$custom-light: #917cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49af",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 252.353,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48228,
    "c": 0.15579,
    "h": 288.6
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#5E49AF
secondary
#B8C291
accent
#D157B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5E49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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