#5E41CA#5E41CA

#5E41CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.1% C 0.201 H 286.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5E41CA
RGBrgb(94, 65, 202)
HSLhsl(253, 56%, 52%)
HSVhsv(253, 68%, 79%)
CMYKcmyk(53.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(38.59, 47.30, -67.04)
CIE-LCHlch(38.59, 82.05, 305.21°)
OKLaboklab(49.11% 0.0557 -0.1926)
OKLCHoklch(49.11% 0.201 286.1)
XYZxyz(17.1639, 10.4236, 56.9732)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41CA #ADCA41
analogous
#4168CA #5E41CA #A341CA
triadic
#5E41CA #CA5E41 #41CA5E
tetradic
#5E41CA #CA4168 #ADCA41 #41CAA3
square
#5E41CA #CA4168 #ADCA41 #41CAA3
split-complementary
#5E41CA #CAA341 #68CA41
monochromatic
#312071 #452DA1 #5E41CA #8771D7 #AFA1E5

Accessibility & contrast

On white

6.81
#5E41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E41CA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41CA#FFFFFF#000000##FFFFFF
##5E41CA1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#316480
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e41ca;
/* rgb */ color: rgb(94, 65, 202);
/* oklch */ color: oklch(49.1% 0.201 286.1);
Tailwind
colors: {
  custom: {
    50: '#9678db',
    500: '#5e41ca',
    950: '#000000',
  },
}
SCSS
$custom: #5e41ca;
$custom-light: #9678db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41ca",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 252.701,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49108,
    "c": 0.20052,
    "h": 286.1
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#5E41CA
secondary
#C5D196
accent
#E048C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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