#5D41DE#5D41DE

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

Color values

HEX#5D41DE
RGBrgb(93, 65, 222)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(58.1%, 70.7%, 0%, 12.9%)
CIE-LABlab(40.21, 53.02, -75.91)
CIE-LCHlch(40.21, 92.59, 304.94°)
OKLaboklab(50.77% 0.0508 -0.2186)
OKLCHoklch(50.77% 0.224 283.1)
XYZxyz(19.5852, 11.3804, 70.2577)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41DE #C2DE41
analogous
#4174DE #5D41DE #AC41DE
triadic
#5D41DE #DE5D41 #41DE5D
tetradic
#5D41DE #DE4174 #C2DE41 #41DEAC
square
#5D41DE #DE4174 #C2DE41 #41DEAC
split-complementary
#5D41DE #DEAC41 #74DE41
monochromatic
#2D188C #3E21C0 #5D41DE #8975E7 #B6A9F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D41DE#FFFFFF#000000##FFFFFF
##5D41DE1.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)
#0064E3
Deuteranopia (green-blind)
#0059DB
Tritanopia (blue-blind)
#096B8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d41de;
/* rgb */ color: rgb(93, 65, 222);
/* oklch */ color: oklch(50.8% 0.224 283.1);
Tailwind
colors: {
  custom: {
    50: '#9878ea',
    500: '#5d41de',
    950: '#000000',
  },
}
SCSS
$custom: #5d41de;
$custom-light: #9878ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41de",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 250.701,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5077,
    "c": 0.22448,
    "h": 283.1
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#5D41DE
secondary
#D2DE9D
accent
#ED3BCD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D41DE

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

Preview Lab → · Contrast checker → · Palette generator →

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