#5E41AF#5E41AF

#5E41AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.9% C 0.167 H 290.7°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5E41AF
RGBrgb(94, 65, 175)
HSLhsl(256, 46%, 47%)
HSVhsv(256, 63%, 69%)
CMYKcmyk(46.3%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.47, 39.41, -54.64)
CIE-LCHlch(36.47, 67.37, 305.80°)
OKLaboklab(46.91% 0.0589 -0.1562)
OKLCHoklch(46.91% 0.167 290.7)
XYZxyz(14.2421, 9.2549, 41.5851)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41AF #92AF41
analogous
#415BAF #5E41AF #9541AF
triadic
#5E41AF #AF5E41 #41AF5E
tetradic
#5E41AF #AF415B #92AF41 #41AF95
square
#5E41AF #AF415B #92AF41 #41AF95
split-complementary
#5E41AF #AF9541 #5BAF41
monochromatic
#2E2056 #463082 #5E41AF #8067C6 #A593D7

Accessibility & contrast

On white

7.37
#5E41AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E41AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E41AF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41AF#FFFFFF#000000##FFFFFF
##5E41AF1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#455B72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e41af;
/* rgb */ color: rgb(94, 65, 175);
/* oklch */ color: oklch(46.9% 0.167 290.7);
Tailwind
colors: {
  custom: {
    50: '#9277c8',
    500: '#5e41af',
    950: '#000000',
  },
}
SCSS
$custom: #5e41af;
$custom-light: #9277c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41af",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 255.818,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46912,
    "c": 0.16693,
    "h": 290.7
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#5E41AF
secondary
#B3C289
accent
#D552B3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5E41AF

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

Preview Lab → · Contrast checker → · Palette generator →

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