#5F44D7#5F44D7

#5F44D7 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.7% C 0.213 H 284.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5F44D7
RGBrgb(95, 68, 215)
HSLhsl(251, 65%, 55%)
HSVhsv(251, 68%, 84%)
CMYKcmyk(55.8%, 68.4%, 0%, 15.7%)
CIE-LABlab(40.36, 49.65, -71.64)
CIE-LCHlch(40.36, 87.16, 304.72°)
OKLaboklab(50.74% 0.0524 -0.2061)
OKLCHoklch(50.74% 0.213 284.3)
XYZxyz(19.0484, 11.4723, 65.4874)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44D7 #BCD744
analogous
#4473D7 #5F44D7 #A844D7
triadic
#5F44D7 #D75F44 #44D75F
tetradic
#5F44D7 #D74473 #BCD744 #44D7A8
square
#5F44D7 #D74473 #BCD744 #44D7A8
split-complementary
#5F44D7 #D7A844 #73D744
monochromatic
#2F1C84 #4127B7 #5F44D7 #8A76E2 #B5A9ED

Accessibility & contrast

On white

6.37
#5F44D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5F44D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44D7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44D7#FFFFFF#000000##FFFFFF
##5F44D71.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#246A88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f44d7;
/* rgb */ color: rgb(95, 68, 215);
/* oklch */ color: oklch(50.7% 0.213 284.3);
Tailwind
colors: {
  custom: {
    50: '#987ae4',
    500: '#5f44d7',
    950: '#000000',
  },
}
SCSS
$custom: #5f44d7;
$custom-light: #987ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44d7",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 215
  },
  "hsl": {
    "h": 251.02,
    "s": 64.758,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.21267,
    "h": 284.3
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#5F44D7
secondary
#CFDA9D
accent
#E840C9
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F44D7

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

Preview Lab → · Contrast checker → · Palette generator →

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