#5F44E2#5F44E2

#5F44E2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.226 H 282.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5F44E2
RGBrgb(95, 68, 226)
HSLhsl(250, 73%, 58%)
HSVhsv(250, 70%, 89%)
CMYKcmyk(58%, 69.9%, 0%, 11.4%)
CIE-LABlab(41.31, 52.89, -76.39)
CIE-LCHlch(41.31, 92.91, 304.70°)
OKLaboklab(51.7% 0.0505 -0.22)
OKLCHoklch(51.7% 0.226 282.9)
XYZxyz(20.5097, 12.0568, 73.1832)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44E2 #C7E244
analogous
#4478E2 #5F44E2 #AE44E2
triadic
#5F44E2 #E25F44 #44E25F
tetradic
#5F44E2 #E24478 #C7E244 #44E2AE
square
#5F44E2 #E24478 #C7E244 #44E2AE
split-complementary
#5F44E2 #E2AE44 #78E244
monochromatic
#2C1795 #3C1FCA #5F44E2 #8C79EA #BAAEF2

Accessibility & contrast

On white

6.16
#5F44E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5F44E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44E2#FFFFFF#000000##FFFFFF
##5F44E21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#0B6E8E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f44e2;
/* rgb */ color: rgb(95, 68, 226);
/* oklch */ color: oklch(51.7% 0.226 282.9);
Tailwind
colors: {
  custom: {
    50: '#9a7aec',
    500: '#5f44e2',
    950: '#000000',
  },
}
SCSS
$custom: #5f44e2;
$custom-light: #9a7aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44e2",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 226
  },
  "hsl": {
    "h": 250.253,
    "s": 73.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.22575,
    "h": 282.9
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#5F44E2
secondary
#D6E1A1
accent
#F038D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5F44E2

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

Preview Lab → · Contrast checker → · Palette generator →

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