#5E48AE#5E48AE

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

Color values

HEX#5E48AE
RGBrgb(94, 72, 174)
HSLhsl(253, 41%, 48%)
HSVhsv(253, 59%, 68%)
CMYKcmyk(46%, 58.6%, 0%, 31.8%)
CIE-LABlab(37.97, 34.98, -51.62)
CIE-LCHlch(37.97, 62.36, 304.12°)
OKLaboklab(47.98% 0.051 -0.1473)
OKLCHoklch(47.98% 0.156 289.1)
XYZxyz(14.5713, 10.0699, 41.2121)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48AE #98AE48
analogous
#4865AE #5E48AE #9148AE
triadic
#5E48AE #AE5E48 #48AE5E
tetradic
#5E48AE #AE4865 #98AE48 #48AE91
square
#5E48AE #AE4865 #98AE48 #48AE91
split-complementary
#5E48AE #AE9148 #65AE48
monochromatic
#2F2457 #473683 #5E48AE #8270C4 #A89BD6

Accessibility & contrast

On white

6.97
#5E48AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5E48AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48AE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48AE#FFFFFF#000000##FFFFFF
##5E48AE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#0157AC
Tritanopia (blue-blind)
#455F74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e48ae;
/* rgb */ color: rgb(94, 72, 174);
/* oklch */ color: oklch(48.0% 0.156 289.1);
Tailwind
colors: {
  custom: {
    50: '#917cc7',
    500: '#5e48ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e48ae;
$custom-light: #917cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48ae",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 252.941,
    "s": 41.463,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.15588,
    "h": 289.1
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#5E48AE
secondary
#B7C290
accent
#D157B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5E48AE

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

Preview Lab → · Contrast checker → · Palette generator →

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