#5E41BC#5E41BC

#5E41BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.183 H 288.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5E41BC
RGBrgb(94, 65, 188)
HSLhsl(254, 49%, 50%)
HSVhsv(254, 65%, 74%)
CMYKcmyk(50%, 65.4%, 0%, 26.3%)
CIE-LABlab(37.46, 43.20, -60.71)
CIE-LCHlch(37.46, 74.51, 305.44°)
OKLaboklab(47.94% 0.0576 -0.174)
OKLCHoklch(47.94% 0.183 288.3)
XYZxyz(15.5809, 9.7904, 48.6360)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41BC #9FBC41
analogous
#4162BC #5E41BC #9C41BC
triadic
#5E41BC #BC5E41 #41BC5E
tetradic
#5E41BC #BC4162 #9FBC41 #41BC9C
square
#5E41BC #BC4162 #9FBC41 #41BC9C
split-complementary
#5E41BC #BC9C41 #62BC41
monochromatic
#312261 #47318F #5E41BC #846ECD #AA9BDC

Accessibility & contrast

On white

7.10
#5E41BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5E41BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E41BC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41BC#FFFFFF#000000##FFFFFF
##5E41BC1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#3D5F79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e41bc;
/* rgb */ color: rgb(94, 65, 188);
/* oklch */ color: oklch(47.9% 0.183 288.3);
Tailwind
colors: {
  custom: {
    50: '#9477d1',
    500: '#5e41bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e41bc;
$custom-light: #9477d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41bc",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 254.146,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.18332,
    "h": 288.3
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#5E41BC
secondary
#BBC990
accent
#D850B8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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