#5F44D2#5F44D2

#5F44D2 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.207 H 284.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5F44D2
RGBrgb(95, 68, 210)
HSLhsl(251, 61%, 55%)
HSVhsv(251, 68%, 82%)
CMYKcmyk(54.8%, 67.6%, 0%, 17.6%)
CIE-LABlab(39.95, 48.17, -69.45)
CIE-LCHlch(39.95, 84.52, 304.75°)
OKLaboklab(50.31% 0.0532 -0.1997)
OKLCHoklch(50.31% 0.207 284.9)
XYZxyz(18.4158, 11.2192, 62.1554)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44D2 #B7D244
analogous
#4470D2 #5F44D2 #A644D2
triadic
#5F44D2 #D25F44 #44D25F
tetradic
#5F44D2 #D24470 #B7D244 #44D2A6
square
#5F44D2 #D24470 #B7D244 #44D2A6
split-complementary
#5F44D2 #D2A644 #70D244
monochromatic
#301E7D #432AAF #5F44D2 #8975DE #B3A7EA

Accessibility & contrast

On white

6.47
#5F44D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5F44D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44D2
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44D2#FFFFFF#000000##FFFFFF
##5F44D21.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#2B6985
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5f44d2;
/* rgb */ color: rgb(95, 68, 210);
/* oklch */ color: oklch(50.3% 0.207 284.9);
Tailwind
colors: {
  custom: {
    50: '#977ae1',
    500: '#5f44d2',
    950: '#000000',
  },
}
SCSS
$custom: #5f44d2;
$custom-light: #977ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44d2",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 251.408,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.20664,
    "h": 284.9
  },
  "luminance": 0.1122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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