#5F44CD#5F44CD

#5F44CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 49.9% C 0.201 H 285.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F44CD
RGBrgb(95, 68, 205)
HSLhsl(252, 58%, 54%)
HSVhsv(252, 67%, 80%)
CMYKcmyk(53.7%, 66.8%, 0%, 19.6%)
CIE-LABlab(39.54, 46.70, -67.23)
CIE-LCHlch(39.54, 81.86, 304.78°)
OKLaboklab(49.89% 0.0539 -0.1932)
OKLCHoklch(49.89% 0.201 285.6)
XYZxyz(17.8026, 10.9740, 58.9259)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F44CD #B2CD44
analogous
#446DCD #5F44CD #A344CD
triadic
#5F44CD #CD5F44 #44CD5F
tetradic
#5F44CD #CD446D #B2CD44 #44CDA3
square
#5F44CD #CD446D #B2CD44 #44CDA3
split-complementary
#5F44CD #CDA344 #6DCD44
monochromatic
#312077 #452DA7 #5F44CD #8874DA #B2A5E7

Accessibility & contrast

On white

6.57
#5F44CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5F44CD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F44CD#FFFFFF#000000##FFFFFF
##5F44CD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#306783
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f44cd;
/* rgb */ color: rgb(95, 68, 205);
/* oklch */ color: oklch(49.9% 0.201 285.6);
Tailwind
colors: {
  custom: {
    50: '#967add',
    500: '#5f44cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f44cd;
$custom-light: #967add;
$custom-dark: #000000;
JSON
{
  "hex": "#5f44cd",
  "rgb": {
    "r": 95,
    "g": 68,
    "b": 205
  },
  "hsl": {
    "h": 251.825,
    "s": 57.806,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.20056,
    "h": 285.6
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#5F44CD
secondary
#C8D499
accent
#E147C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5F44CD

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

Preview Lab → · Contrast checker → · Palette generator →

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