#5D41CF#5D41CF

#5D41CF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.4% C 0.207 H 285.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5D41CF
RGBrgb(93, 65, 207)
HSLhsl(252, 60%, 53%)
HSVhsv(252, 69%, 81%)
CMYKcmyk(55.1%, 68.6%, 0%, 18.8%)
CIE-LABlab(38.92, 48.61, -69.41)
CIE-LCHlch(38.92, 84.74, 305.01°)
OKLaboklab(49.45% 0.0535 -0.1996)
OKLCHoklch(49.45% 0.207 285)
XYZxyz(17.6636, 10.6117, 60.1369)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41CF #B3CF41
analogous
#416CCF #5D41CF #A441CF
triadic
#5D41CF #CF5D41 #41CF5D
tetradic
#5D41CF #CF416C #B3CF41 #41CFA4
square
#5D41CF #CF416C #B3CF41 #41CFA4
split-complementary
#5D41CF #CFA441 #6CCF41
monochromatic
#301E77 #432BA8 #5D41CF #8772DB #B0A3E8

Accessibility & contrast

On white

6.73
#5D41CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D41CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D41CF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41CF#FFFFFF#000000##FFFFFF
##5D41CF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#296683
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d41cf;
/* rgb */ color: rgb(93, 65, 207);
/* oklch */ color: oklch(49.4% 0.207 285.0);
Tailwind
colors: {
  custom: {
    50: '#9678df',
    500: '#5d41cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d41cf;
$custom-light: #9678df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41cf",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 251.831,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49449,
    "c": 0.20665,
    "h": 285
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#5D41CF
secondary
#C8D497
accent
#E345C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D41CF

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

Preview Lab → · Contrast checker → · Palette generator →

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