#5E41DD#5E41DD

#5E41DD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.223 H 283.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5E41DD
RGBrgb(94, 65, 221)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(57.5%, 70.6%, 0%, 13.3%)
CIE-LABlab(40.21, 52.87, -75.33)
CIE-LCHlch(40.21, 92.03, 305.06°)
OKLaboklab(50.76% 0.0524 -0.2169)
OKLCHoklch(50.76% 0.223 283.6)
XYZxyz(19.5535, 11.3795, 69.5587)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E41DD #C0DD41
analogous
#4172DD #5E41DD #AC41DD
triadic
#5E41DD #DD5E41 #41DD5E
tetradic
#5E41DD #DD4172 #C0DD41 #41DDAC
square
#5E41DD #DD4172 #C0DD41 #41DDAC
split-complementary
#5E41DD #DDAC41 #72DD41
monochromatic
#2E198B #3F22BF #5E41DD #8A75E6 #B6A9F0

Accessibility & contrast

On white

6.41
#5E41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E41DD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E41DD#FFFFFF#000000##FFFFFF
##5E41DD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#005ADA
Tritanopia (blue-blind)
#146B8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e41dd;
/* rgb */ color: rgb(94, 65, 221);
/* oklch */ color: oklch(50.8% 0.223 283.6);
Tailwind
colors: {
  custom: {
    50: '#9978e9',
    500: '#5e41dd',
    950: '#000000',
  },
}
SCSS
$custom: #5e41dd;
$custom-light: #9978e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e41dd",
  "rgb": {
    "r": 94,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 251.154,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50764,
    "c": 0.22318,
    "h": 283.6
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#5E41DD
secondary
#D1DD9D
accent
#EC3BCC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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