#5E48AF#5E48AF

#5E48AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.1% C 0.157 H 288.9°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#5E48AF
RGBrgb(94, 72, 175)
HSLhsl(253, 42%, 48%)
HSVhsv(253, 59%, 69%)
CMYKcmyk(46.3%, 58.9%, 0%, 31.4%)
CIE-LABlab(38.04, 35.28, -52.10)
CIE-LCHlch(38.04, 62.93, 304.10°)
OKLaboklab(48.06% 0.051 -0.1487)
OKLCHoklch(48.06% 0.157 288.9)
XYZxyz(14.6691, 10.1090, 41.7274)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48AF #99AF48
analogous
#4865AF #5E48AF #9148AF
triadic
#5E48AF #AF5E48 #48AF5E
tetradic
#5E48AF #AF4865 #99AF48 #48AF91
square
#5E48AF #AF4865 #99AF48 #48AF91
split-complementary
#5E48AF #AF9148 #65AF48
monochromatic
#2F2458 #473684 #5E48AF #8270C4 #A89BD6

Accessibility & contrast

On white

6.95
#5E48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5E48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48AF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48AF#FFFFFF#000000##FFFFFF
##5E48AF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e48af;
/* rgb */ color: rgb(94, 72, 175);
/* oklch */ color: oklch(48.1% 0.157 288.9);
Tailwind
colors: {
  custom: {
    50: '#917cc8',
    500: '#5e48af',
    950: '#000000',
  },
}
SCSS
$custom: #5e48af;
$custom-light: #917cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48af",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 252.816,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.15722,
    "h": 288.9
  },
  "luminance": 0.1011
}

Semantic roles & 50–950 ramp

primary
#5E48AF
secondary
#B8C290
accent
#D256B7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5E48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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