#5E41CC#5E41CC

#5E41CC is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.3% C 0.203 H 285.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E41CC
RGBrgb(94, 65, 204)
HSLhsl(253, 58%, 53%)
HSVhsv(253, 68%, 80%)
CMYKcmyk(53.9%, 68.1%, 0%, 20%)
CIE-LABlab(38.76, 47.89, -67.93)
CIE-LCHlch(38.76, 83.11, 305.18°)
OKLaboklab(49.28% 0.0554 -0.1952)
OKLCHoklch(49.28% 0.203 285.8)
XYZxyz(17.4022, 10.5190, 58.2284)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41CC #AFCC41
analogous
#4169CC #5E41CC #A341CC
triadic
#5E41CC #CC5E41 #41CC5E
tetradic
#5E41CC #CC4169 #AFCC41 #41CCA3
square
#5E41CC #CC4169 #AFCC41 #41CCA3
split-complementary
#5E41CC #CCA341 #69CC41
monochromatic
#311F74 #452CA4 #5E41CC #8771D9 #B0A1E6

Accessibility & contrast

On white

6.77
#5E41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E41CC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41CC#FFFFFF#000000##FFFFFF
##5E41CC1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#2F6581
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e41cc;
/* rgb */ color: rgb(94, 65, 204);
/* oklch */ color: oklch(49.3% 0.203 285.8);
Tailwind
colors: {
  custom: {
    50: '#9678dd',
    500: '#5e41cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e41cc;
$custom-light: #9678dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41cc",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 252.518,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49278,
    "c": 0.20295,
    "h": 285.8
  },
  "luminance": 0.1052
}

Semantic roles & 50–950 ramp

primary
#5E41CC
secondary
#C6D396
accent
#E147C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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