#5E41BE#5E41BE

#5E41BE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.1% C 0.186 H 288.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5E41BE
RGBrgb(94, 65, 190)
HSLhsl(254, 49%, 50%)
HSVhsv(254, 66%, 75%)
CMYKcmyk(50.5%, 65.8%, 0%, 25.5%)
CIE-LABlab(37.62, 43.78, -61.62)
CIE-LCHlch(37.62, 75.59, 305.39°)
OKLaboklab(48.11% 0.0574 -0.1767)
OKLCHoklch(48.11% 0.186 288)
XYZxyz(15.7979, 9.8773, 49.7793)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41BE #A1BE41
analogous
#4162BE #5E41BE #9D41BE
triadic
#5E41BE #BE5E41 #41BE5E
tetradic
#5E41BE #BE4162 #A1BE41 #41BE9D
square
#5E41BE #BE4162 #A1BE41 #41BE9D
split-complementary
#5E41BE #BE9D41 #62BE41
monochromatic
#312263 #473190 #5E41BE #856FCE #AB9CDD

Accessibility & contrast

On white

7.06
#5E41BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E41BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E41BE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41BE#FFFFFF#000000##FFFFFF
##5E41BE1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#3B607A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e41be;
/* rgb */ color: rgb(94, 65, 190);
/* oklch */ color: oklch(48.1% 0.186 288.0);
Tailwind
colors: {
  custom: {
    50: '#9477d3',
    500: '#5e41be',
    950: '#000000',
  },
}
SCSS
$custom: #5e41be;
$custom-light: #9477d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41be",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 253.92,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.1858,
    "h": 288
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#5E41BE
secondary
#BCC991
accent
#D94FB9
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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