#5F44CC#5F44CC

#5F44CC is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.199 H 285.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5F44CC
RGBrgb(95, 68, 204)
HSLhsl(252, 57%, 53%)
HSVhsv(252, 67%, 80%)
CMYKcmyk(53.4%, 66.7%, 0%, 20%)
CIE-LABlab(39.46, 46.40, -66.79)
CIE-LCHlch(39.46, 81.32, 304.79°)
OKLaboklab(49.8% 0.0541 -0.1919)
OKLCHoklch(49.8% 0.199 285.7)
XYZxyz(17.6823, 10.9258, 58.2922)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44CC #B1CC44
analogous
#446DCC #5F44CC #A344CC
triadic
#5F44CC #CC5F44 #44CC5F
tetradic
#5F44CC #CC446D #B1CC44 #44CCA3
square
#5F44CC #CC446D #B1CC44 #44CCA3
split-complementary
#5F44CC #CCA344 #6DCC44
monochromatic
#312076 #452DA6 #5F44CC #8874D9 #B1A4E6

Accessibility & contrast

On white

6.59
#5F44CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5F44CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F44CC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44CC#FFFFFF#000000##FFFFFF
##5F44CC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#316682
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f44cc;
/* rgb */ color: rgb(95, 68, 204);
/* oklch */ color: oklch(49.8% 0.199 285.7);
Tailwind
colors: {
  custom: {
    50: '#967add',
    500: '#5f44cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f44cc;
$custom-light: #967add;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44cc",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 251.912,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.19933,
    "h": 285.7
  },
  "luminance": 0.10927
}

Semantic roles & 50–950 ramp

primary
#5F44CC
secondary
#C8D399
accent
#E047C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5F44CC

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

Preview Lab → · Contrast checker → · Palette generator →

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