#5E41CF#5E41CF

#5E41CF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.5% C 0.207 H 285.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5E41CF
RGBrgb(94, 65, 207)
HSLhsl(252, 60%, 53%)
HSVhsv(252, 69%, 81%)
CMYKcmyk(54.6%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.01, 48.77, -69.25)
CIE-LCHlch(39.01, 84.70, 305.15°)
OKLaboklab(49.54% 0.0549 -0.1991)
OKLCHoklch(49.54% 0.207 285.4)
XYZxyz(17.7655, 10.6643, 60.1417)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41CF #B2CF41
analogous
#416BCF #5E41CF #A541CF
triadic
#5E41CF #CF5E41 #41CF5E
tetradic
#5E41CF #CF416B #B2CF41 #41CFA5
square
#5E41CF #CF416B #B2CF41 #41CFA5
split-complementary
#5E41CF #CFA541 #6BCF41
monochromatic
#301E77 #442BA8 #5E41CF #8772DB #B1A3E8

Accessibility & contrast

On white

6.70
#5E41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5E41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E41CF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41CF#FFFFFF#000000##FFFFFF
##5E41CF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#2C6683
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e41cf;
/* rgb */ color: rgb(94, 65, 207);
/* oklch */ color: oklch(49.5% 0.207 285.4);
Tailwind
colors: {
  custom: {
    50: '#9678df',
    500: '#5e41cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e41cf;
$custom-light: #9678df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41cf",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 252.254,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49535,
    "c": 0.20656,
    "h": 285.4
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#5E41CF
secondary
#C8D497
accent
#E345C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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