#5E49BF#5E49BF

#5E49BF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.177 H 286.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5E49BF
RGBrgb(94, 73, 191)
HSLhsl(251, 48%, 52%)
HSVhsv(251, 62%, 75%)
CMYKcmyk(50.8%, 61.8%, 0%, 25.1%)
CIE-LABlab(39.42, 39.47, -59.28)
CIE-LCHlch(39.42, 71.22, 303.66°)
OKLaboklab(49.44% 0.0492 -0.1698)
OKLCHoklch(49.44% 0.177 286.1)
XYZxyz(16.3998, 10.9056, 50.5210)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49BF #AABF49
analogous
#496FBF #5E49BF #9949BF
triadic
#5E49BF #BF5E49 #49BF5E
tetradic
#5E49BF #BF496F #AABF49 #49BF99
square
#5E49BF #BF496F #AABF49 #49BF99
split-complementary
#5E49BF #BF9949 #6FBF49
monochromatic
#312569 #463596 #5E49BF #8676CF #AEA4DF

Accessibility & contrast

On white

6.60
#5E49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5E49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49BF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49BF#FFFFFF#000000##FFFFFF
##5E49BF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#3A657D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e49bf;
/* rgb */ color: rgb(94, 73, 191);
/* oklch */ color: oklch(49.4% 0.177 286.1);
Tailwind
colors: {
  custom: {
    50: '#947dd3',
    500: '#5e49bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e49bf;
$custom-light: #947dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49bf",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 250.678,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.1768,
    "h": 286.1
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#5E49BF
secondary
#C3CC98
accent
#D850BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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