#5E41BF#5E41BF

#5E41BF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.187 H 287.8°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5E41BF
RGBrgb(94, 65, 191)
HSLhsl(254, 50%, 50%)
HSVhsv(254, 66%, 75%)
CMYKcmyk(50.8%, 66%, 0%, 25.1%)
CIE-LABlab(37.70, 44.08, -62.08)
CIE-LCHlch(37.70, 76.14, 305.38°)
OKLaboklab(48.19% 0.0573 -0.1781)
OKLCHoklch(48.19% 0.187 287.8)
XYZxyz(15.9076, 9.9211, 50.3569)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41BF #A2BF41
analogous
#4163BF #5E41BF #9D41BF
triadic
#5E41BF #BF5E41 #41BF5E
tetradic
#5E41BF #BF4163 #A2BF41 #41BF9D
square
#5E41BF #BF4163 #A2BF41 #41BF9D
split-complementary
#5E41BF #BF9D41 #63BF41
monochromatic
#312264 #473192 #5E41BF #856FCE #AC9DDE

Accessibility & contrast

On white

7.04
#5E41BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E41BF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41BF#FFFFFF#000000##FFFFFF
##5E41BF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e41bf;
/* rgb */ color: rgb(94, 65, 191);
/* oklch */ color: oklch(48.2% 0.187 287.8);
Tailwind
colors: {
  custom: {
    50: '#9477d3',
    500: '#5e41bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e41bf;
$custom-light: #9477d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41bf",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 253.81,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48189,
    "c": 0.18704,
    "h": 287.8
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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