#5D41CE#5D41CE

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

Color values

HEX#5D41CE
RGBrgb(93, 65, 206)
HSLhsl(252, 59%, 53%)
HSVhsv(252, 68%, 81%)
CMYKcmyk(54.9%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.83, 48.32, -68.97)
CIE-LCHlch(38.83, 84.21, 305.02°)
OKLaboklab(49.36% 0.0537 -0.1983)
OKLCHoklch(49.36% 0.205 285.2)
XYZxyz(17.5417, 10.5630, 59.4951)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D41CE #B2CE41
analogous
#416BCE #5D41CE #A341CE
triadic
#5D41CE #CE5D41 #41CE5D
tetradic
#5D41CE #CE416B #B2CE41 #41CEA3
square
#5D41CE #CE416B #B2CE41 #41CEA3
split-complementary
#5D41CE #CEA341 #6BCE41
monochromatic
#301E76 #442BA7 #5D41CE #8672DB #B0A2E7

Accessibility & contrast

On white

6.75
#5D41CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D41CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D41CE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D41CE#FFFFFF#000000##FFFFFF
##5D41CE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#2A6682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d41ce;
/* rgb */ color: rgb(93, 65, 206);
/* oklch */ color: oklch(49.4% 0.205 285.2);
Tailwind
colors: {
  custom: {
    50: '#9678de',
    500: '#5d41ce',
    950: '#000000',
  },
}
SCSS
$custom: #5d41ce;
$custom-light: #9678de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d41ce",
  "rgb": {
    "r": 93,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 251.915,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49362,
    "c": 0.20545,
    "h": 285.2
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#5D41CE
secondary
#C8D497
accent
#E246C3
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D41CE

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

Preview Lab → · Contrast checker → · Palette generator →

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