#5F44CE#5F44CE

#5F44CE is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.0% C 0.202 H 285.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5F44CE
RGBrgb(95, 68, 206)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 67%, 81%)
CMYKcmyk(53.9%, 67%, 0%, 19.2%)
CIE-LABlab(39.62, 46.99, -67.68)
CIE-LCHlch(39.62, 82.39, 304.77°)
OKLaboklab(49.97% 0.0538 -0.1945)
OKLCHoklch(49.97% 0.202 285.5)
XYZxyz(17.9237, 11.0224, 59.5636)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44CE #B3CE44
analogous
#446ECE #5F44CE #A444CE
triadic
#5F44CE #CE5F44 #44CE5F
tetradic
#5F44CE #CE446E #B3CE44 #44CEA4
square
#5F44CE #CE446E #B3CE44 #44CEA4
split-complementary
#5F44CE #CEA444 #6ECE44
monochromatic
#311F78 #452CA9 #5F44CE #8874DB #B2A5E7

Accessibility & contrast

On white

6.55
#5F44CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5F44CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44CE
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44CE#FFFFFF#000000##FFFFFF
##5F44CE1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#2F6783
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f44ce;
/* rgb */ color: rgb(95, 68, 206);
/* oklch */ color: oklch(50.0% 0.202 285.5);
Tailwind
colors: {
  custom: {
    50: '#977ade',
    500: '#5f44ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f44ce;
$custom-light: #977ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44ce",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 206
  },
  "hsl": {
    "h": 251.739,
    "s": 58.475,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49969,
    "c": 0.20177,
    "h": 285.5
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#5F44CE
secondary
#C9D499
accent
#E246C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5F44CE

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

Preview Lab → · Contrast checker → · Palette generator →

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