#5F44DC#5F44DC

#5F44DC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.219 H 283.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5F44DC
RGBrgb(95, 68, 220)
HSLhsl(251, 68%, 56%)
HSVhsv(251, 69%, 86%)
CMYKcmyk(56.8%, 69.1%, 0%, 13.7%)
CIE-LABlab(40.79, 51.12, -73.81)
CIE-LCHlch(40.79, 89.79, 304.71°)
OKLaboklab(51.17% 0.0516 -0.2125)
OKLCHoklch(51.17% 0.219 283.6)
XYZxyz(19.7007, 11.7332, 68.9229)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44DC #C1DC44
analogous
#4475DC #5F44DC #AB44DC
triadic
#5F44DC #DC5F44 #44DC5F
tetradic
#5F44DC #DC4475 #C1DC44 #44DCAB
square
#5F44DC #DC4475 #C1DC44 #44DCAB
split-complementary
#5F44DC #DCAB44 #75DC44
monochromatic
#2E1A8B #3F24BF #5F44DC #8B78E6 #B7ABEF

Accessibility & contrast

On white

6.27
#5F44DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5F44DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44DC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44DC#FFFFFF#000000##FFFFFF
##5F44DC1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#1C6C8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5f44dc;
/* rgb */ color: rgb(95, 68, 220);
/* oklch */ color: oklch(51.2% 0.219 283.6);
Tailwind
colors: {
  custom: {
    50: '#997ae8',
    500: '#5f44dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f44dc;
$custom-light: #997ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44dc",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 220
  },
  "hsl": {
    "h": 250.658,
    "s": 68.468,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.21864,
    "h": 283.6
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#5F44DC
secondary
#D2DD9F
accent
#EB3CCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F44DC

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

Preview Lab → · Contrast checker → · Palette generator →

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