#5E4BB7#5E4BB7

#5E4BB7 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.164 H 286.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5E4BB7
RGBrgb(94, 75, 183)
HSLhsl(251, 43%, 51%)
HSVhsv(251, 59%, 72%)
CMYKcmyk(48.6%, 59%, 0%, 28.2%)
CIE-LABlab(39.29, 35.88, -54.80)
CIE-LCHlch(39.29, 65.50, 303.21°)
OKLaboklab(49.16% 0.0474 -0.1566)
OKLCHoklch(49.16% 0.164 286.8)
XYZxyz(15.6769, 10.8300, 46.0549)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BB7 #A4B74B
analogous
#4B6EB7 #5E4BB7 #944BB7
triadic
#5E4BB7 #B75E4B #4BB75E
tetradic
#5E4BB7 #B74B6E #A4B74B #4BB794
square
#5E4BB7 #B74B6E #A4B74B #4BB794
split-complementary
#5E4BB7 #B7944B #6EB74B
monochromatic
#312761 #47388D #5E4BB7 #8577C8 #ACA2DA

Accessibility & contrast

On white

6.63
#5E4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E4BB7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BB7#FFFFFF#000000##FFFFFF
##5E4BB71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#005AB5
Tritanopia (blue-blind)
#3F647A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4bb7;
/* rgb */ color: rgb(94, 75, 183);
/* oklch */ color: oklch(49.2% 0.164 286.8);
Tailwind
colors: {
  custom: {
    50: '#927ecd',
    500: '#5e4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bb7;
$custom-light: #927ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bb7",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 250.556,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4916,
    "c": 0.16365,
    "h": 286.8
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#5E4BB7
secondary
#BEC797
accent
#D355BD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5E4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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