#5D44D2#5D44D2

#5D44D2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.1% C 0.207 H 284.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D44D2
RGBrgb(93, 68, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 68%, 82%)
CMYKcmyk(55.7%, 67.6%, 0%, 17.6%)
CIE-LABlab(39.77, 47.86, -69.74)
CIE-LCHlch(39.77, 84.58, 304.46°)
OKLaboklab(50.14% 0.0505 -0.2006)
OKLCHoklch(50.14% 0.207 284.1)
XYZxyz(18.2106, 11.1135, 62.1458)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D44D2 #B9D244
analogous
#4472D2 #5D44D2 #A444D2
triadic
#5D44D2 #D25D44 #44D25D
tetradic
#5D44D2 #D24472 #B9D244 #44D2A4
square
#5D44D2 #D24472 #B9D244 #44D2A4
split-complementary
#5D44D2 #D2A444 #72D244
monochromatic
#2F1E7D #412AAF #5D44D2 #8875DE #B2A7EA

Accessibility & contrast

On white

6.52
#5D44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D44D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D44D2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D44D2#FFFFFF#000000##FFFFFF
##5D44D21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#246985
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d44d2;
/* rgb */ color: rgb(93, 68, 210);
/* oklch */ color: oklch(50.1% 0.207 284.1);
Tailwind
colors: {
  custom: {
    50: '#967ae1',
    500: '#5d44d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d44d2;
$custom-light: #967ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d44d2",
  "rgb": {
    "r": 93,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 250.563,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.20686,
    "h": 284.1
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#5D44D2
secondary
#CCD79B
accent
#E443C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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