#5F44D4#5F44D4

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

Color values

HEX#5F44D4
RGBrgb(95, 68, 212)
HSLhsl(251, 63%, 55%)
HSVhsv(251, 68%, 83%)
CMYKcmyk(55.2%, 67.9%, 0%, 16.9%)
CIE-LABlab(40.11, 48.76, -70.33)
CIE-LCHlch(40.11, 85.58, 304.74°)
OKLaboklab(50.48% 0.0529 -0.2023)
OKLCHoklch(50.48% 0.209 284.7)
XYZxyz(18.6665, 11.3195, 63.4759)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44D4 #B9D444
analogous
#4471D4 #5F44D4 #A744D4
triadic
#5F44D4 #D45F44 #44D45F
tetradic
#5F44D4 #D44471 #B9D444 #44D4A7
square
#5F44D4 #D44471 #B9D444 #44D4A7
split-complementary
#5F44D4 #D4A744 #71D444
monochromatic
#301D80 #4329B2 #5F44D4 #8A76DF #B4A8EB

Accessibility & contrast

On white

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

On black

3.26
#5F44D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5F44D4#FFFFFF#000000##FFFFFF
##5F44D41.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#286987
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f44d4;
/* rgb */ color: rgb(95, 68, 212);
/* oklch */ color: oklch(50.5% 0.209 284.7);
Tailwind
colors: {
  custom: {
    50: '#977ae2',
    500: '#5f44d4',
    950: '#000000',
  },
}
SCSS
$custom: #5f44d4;
$custom-light: #977ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44d4",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 212
  },
  "hsl": {
    "h": 251.25,
    "s": 62.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50478,
    "c": 0.20905,
    "h": 284.7
  },
  "luminance": 0.11321
}

Semantic roles & 50–950 ramp

primary
#5F44D4
secondary
#CDD89C
accent
#E642C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F44D4

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

Preview Lab → · Contrast checker → · Palette generator →

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