#5D41DD#5D41DD

#5D41DD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.223 H 283.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5D41DD
RGBrgb(93, 65, 221)
HSLhsl(251, 70%, 56%)
HSVhsv(251, 71%, 87%)
CMYKcmyk(57.9%, 70.6%, 0%, 13.3%)
CIE-LABlab(40.13, 52.73, -75.48)
CIE-LCHlch(40.13, 92.07, 304.94°)
OKLaboklab(50.68% 0.051 -0.2174)
OKLCHoklch(50.68% 0.223 283.2)
XYZxyz(19.4516, 11.3269, 69.5539)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41DD #C1DD41
analogous
#4173DD #5D41DD #AB41DD
triadic
#5D41DD #DD5D41 #41DD5D
tetradic
#5D41DD #DD4173 #C1DD41 #41DDAB
square
#5D41DD #DD4173 #C1DD41 #41DDAB
split-complementary
#5D41DD #DDAB41 #73DD41
monochromatic
#2D198B #3E22BF #5D41DD #8975E6 #B6A9F0

Accessibility & contrast

On white

6.43
#5D41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5D41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D41DD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41DD#FFFFFF#000000##FFFFFF
##5D41DD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0059DA
Tritanopia (blue-blind)
#0D6B8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d41dd;
/* rgb */ color: rgb(93, 65, 221);
/* oklch */ color: oklch(50.7% 0.223 283.2);
Tailwind
colors: {
  custom: {
    50: '#9878e9',
    500: '#5d41dd',
    950: '#000000',
  },
}
SCSS
$custom: #5d41dd;
$custom-light: #9878e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41dd",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 250.769,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.22331,
    "h": 283.2
  },
  "luminance": 0.11328
}

Semantic roles & 50–950 ramp

primary
#5D41DD
secondary
#D2DD9D
accent
#EC3BCD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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