#5E49BE#5E49BE

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

Color values

HEX#5E49BE
RGBrgb(94, 73, 190)
HSLhsl(251, 47%, 52%)
HSVhsv(251, 62%, 75%)
CMYKcmyk(50.5%, 61.6%, 0%, 25.5%)
CIE-LABlab(39.35, 39.17, -58.82)
CIE-LCHlch(39.35, 70.67, 303.66°)
OKLaboklab(49.36% 0.0492 -0.1685)
OKLCHoklch(49.36% 0.176 286.3)
XYZxyz(16.2902, 10.8617, 49.9434)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E49BE #A9BE49
analogous
#496FBE #5E49BE #9949BE
triadic
#5E49BE #BE5E49 #49BE5E
tetradic
#5E49BE #BE496F #A9BE49 #49BE99
square
#5E49BE #BE496F #A9BE49 #49BE99
split-complementary
#5E49BE #BE9949 #6FBE49
monochromatic
#312568 #463595 #5E49BE #8676CE #AEA3DE

Accessibility & contrast

On white

6.62
#5E49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5E49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E49BE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E49BE#FFFFFF#000000##FFFFFF
##5E49BE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#3B657C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e49be;
/* rgb */ color: rgb(94, 73, 190);
/* oklch */ color: oklch(49.4% 0.176 286.3);
Tailwind
colors: {
  custom: {
    50: '#937dd2',
    500: '#5e49be',
    950: '#000000',
  },
}
SCSS
$custom: #5e49be;
$custom-light: #937dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e49be",
  "rgb": {
    "r": 94,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 250.769,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.17551,
    "h": 286.3
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#5E49BE
secondary
#C2CB98
accent
#D751BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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