#5D3FD4#5D3FD4

#5D3FD4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.215 H 284.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5D3FD4
RGBrgb(93, 63, 212)
HSLhsl(252, 63%, 54%)
HSVhsv(252, 70%, 83%)
CMYKcmyk(56.1%, 70.3%, 0%, 16.9%)
CIE-LABlab(38.96, 51.15, -72.23)
CIE-LCHlch(38.96, 88.51, 305.31°)
OKLaboklab(49.61% 0.0543 -0.2079)
OKLCHoklch(49.61% 0.215 284.6)
XYZxyz(18.1718, 10.6346, 63.3697)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FD4 #B6D43F
analogous
#3F6CD4 #5D3FD4 #A83FD4
triadic
#5D3FD4 #D45D3F #3FD45D
tetradic
#5D3FD4 #D43F6C #B6D43F #3FD4A8
square
#5D3FD4 #D43F6C #B6D43F #3FD4A8
split-complementary
#5D3FD4 #D4A83F #6CD43F
monochromatic
#2F1C7D #4227AF #5D3FD4 #8771DF #B1A3EA

Accessibility & contrast

On white

6.72
#5D3FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5D3FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FD4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FD4#FFFFFF#000000##FFFFFF
##5D3FD41.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D8
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#226785
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d3fd4;
/* rgb */ color: rgb(93, 63, 212);
/* oklch */ color: oklch(49.6% 0.215 284.6);
Tailwind
colors: {
  custom: {
    50: '#9777e2',
    500: '#5d3fd4',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fd4;
$custom-light: #9777e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fd4",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 212
  },
  "hsl": {
    "h": 252.081,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.21485,
    "h": 284.6
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#5D3FD4
secondary
#CAD798
accent
#E641C5
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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