#5E4BAE#5E4BAE

#5E4BAE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.5% C 0.152 H 288.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5E4BAE
RGBrgb(94, 75, 174)
HSLhsl(252, 40%, 49%)
HSVhsv(252, 57%, 68%)
CMYKcmyk(46%, 56.9%, 0%, 31.8%)
CIE-LABlab(38.67, 33.17, -50.49)
CIE-LCHlch(38.67, 60.42, 303.30°)
OKLaboklab(48.5% 0.0475 -0.144)
OKLCHoklch(48.5% 0.152 288.2)
XYZxyz(14.7700, 10.4673, 41.2783)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4BAE #9BAE4B
analogous
#4B6AAE #5E4BAE #904BAE
triadic
#5E4BAE #AE5E4B #4BAE5E
tetradic
#5E4BAE #AE4B6A #9BAE4B #4BAE90
square
#5E4BAE #AE4B6A #9BAE4B #4BAE90
split-complementary
#5E4BAE #AE904B #6AAE4B
monochromatic
#302658 #473983 #5E4BAE #8373C3 #A99ED5

Accessibility & contrast

On white

6.79
#5E4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4BAE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4BAE#FFFFFF#000000##FFFFFF
##5E4BAE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5DB1
Deuteranopia (green-blind)
#1058AC
Tritanopia (blue-blind)
#456175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e4bae;
/* rgb */ color: rgb(94, 75, 174);
/* oklch */ color: oklch(48.5% 0.152 288.2);
Tailwind
colors: {
  custom: {
    50: '#917ec7',
    500: '#5e4bae',
    950: '#000000',
  },
}
SCSS
$custom: #5e4bae;
$custom-light: #917ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4bae",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 251.515,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.1516,
    "h": 288.2
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#5E4BAE
secondary
#B9C293
accent
#D058B9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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