#5E4AAF#5E4AAF

#5E4AAF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.154 H 288.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5E4AAF
RGBrgb(94, 74, 175)
HSLhsl(252, 41%, 49%)
HSVhsv(252, 58%, 69%)
CMYKcmyk(46.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(38.50, 34.08, -51.36)
CIE-LCHlch(38.50, 61.63, 303.57°)
OKLaboklab(48.4% 0.0486 -0.1465)
OKLCHoklch(48.4% 0.154 288.4)
XYZxyz(14.8005, 10.3718, 41.7712)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4AAF #9BAF4A
analogous
#4A69AF #5E4AAF #914AAF
triadic
#5E4AAF #AF5E4A #4AAF5E
tetradic
#5E4AAF #AF4A69 #9BAF4A #4AAF91
square
#5E4AAF #AF4A69 #9BAF4A #4AAF91
split-complementary
#5E4AAF #AF914A #69AF4A
monochromatic
#302659 #473884 #5E4AAF #8373C4 #A99ED6

Accessibility & contrast

On white

6.83
#5E4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4AAF
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4AAF#FFFFFF#000000##FFFFFF
##5E4AAF1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#446075
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e4aaf;
/* rgb */ color: rgb(94, 74, 175);
/* oklch */ color: oklch(48.4% 0.154 288.4);
Tailwind
colors: {
  custom: {
    50: '#917dc7',
    500: '#5e4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4aaf;
$custom-light: #917dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4aaf",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 251.881,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.484,
    "c": 0.15437,
    "h": 288.4
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#5E4AAF
secondary
#B9C292
accent
#D057B8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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