#5F44E6#5F44E6

#5F44E6 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.230 H 282.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5F44E6
RGBrgb(95, 68, 230)
HSLhsl(250, 76%, 58%)
HSVhsv(250, 70%, 90%)
CMYKcmyk(58.7%, 70.4%, 0%, 9.8%)
CIE-LABlab(41.66, 54.07, -78.09)
CIE-LCHlch(41.66, 94.98, 304.70°)
OKLaboklab(52.05% 0.0498 -0.225)
OKLCHoklch(52.05% 0.23 282.5)
XYZxyz(21.0649, 12.2789, 76.1076)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44E6 #CBE644
analogous
#447AE6 #5F44E6 #B044E6
triadic
#5F44E6 #E65F44 #44E65F
tetradic
#5F44E6 #E6447A #CBE644 #44E6B0
square
#5F44E6 #E6447A #CBE644 #44E6B0
split-complementary
#5F44E6 #E6B044 #7AE644
monochromatic
#2B159B #3A1CD1 #5F44E6 #8D7AED #BBB0F4

Accessibility & contrast

On white

6.08
#5F44E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5F44E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44E6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44E6#FFFFFF#000000##FFFFFF
##5F44E61.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005DE3
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f44e6;
/* rgb */ color: rgb(95, 68, 230);
/* oklch */ color: oklch(52.1% 0.230 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a7bef',
    500: '#5f44e6',
    950: '#000000',
  },
}
SCSS
$custom: #5f44e6;
$custom-light: #9a7bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44e6",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 230
  },
  "hsl": {
    "h": 250,
    "s": 76.415,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52054,
    "c": 0.23043,
    "h": 282.5
  },
  "luminance": 0.1228
}

Semantic roles & 50–950 ramp

primary
#5F44E6
secondary
#D8E3A3
accent
#F335D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5F44E6

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

Preview Lab → · Contrast checker → · Palette generator →

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