#5F44CA#5F44CA

#5F44CA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.197 H 286.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5F44CA
RGBrgb(95, 68, 202)
HSLhsl(252, 56%, 53%)
HSVhsv(252, 66%, 79%)
CMYKcmyk(53%, 66.3%, 0%, 20.8%)
CIE-LABlab(39.29, 45.81, -65.89)
CIE-LCHlch(39.29, 80.25, 304.81°)
OKLaboklab(49.63% 0.0543 -0.1892)
OKLCHoklch(49.63% 0.197 286)
XYZxyz(17.4439, 10.8305, 57.0370)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44CA #AFCA44
analogous
#446CCA #5F44CA #A244CA
triadic
#5F44CA #CA5F44 #44CA5F
tetradic
#5F44CA #CA446C #AFCA44 #44CAA2
square
#5F44CA #CA446C #AFCA44 #44CAA2
split-complementary
#5F44CA #CAA244 #6CCA44
monochromatic
#312173 #462EA3 #5F44CA #8874D8 #B1A3E5

Accessibility & contrast

On white

6.63
#5F44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44CA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44CA#FFFFFF#000000##FFFFFF
##5F44CA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#336681
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f44ca;
/* rgb */ color: rgb(95, 68, 202);
/* oklch */ color: oklch(49.6% 0.197 286.0);
Tailwind
colors: {
  custom: {
    50: '#967adb',
    500: '#5f44ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f44ca;
$custom-light: #967adb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44ca",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 252.09,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.19688,
    "h": 286
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#5F44CA
secondary
#C6D298
accent
#DF49C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5F44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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