#5D3FC8#5D3FC8

#5D3FC8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.6% C 0.201 H 286.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5D3FC8
RGBrgb(93, 63, 200)
HSLhsl(253, 55%, 52%)
HSVhsv(253, 69%, 78%)
CMYKcmyk(53.5%, 68.5%, 0%, 21.6%)
CIE-LABlab(37.93, 47.65, -66.96)
CIE-LCHlch(37.93, 82.18, 305.44°)
OKLaboklab(48.56% 0.0564 -0.1924)
OKLCHoklch(48.56% 0.201 286.3)
XYZxyz(16.7139, 10.0514, 55.6918)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3FC8 #AAC83F
analogous
#3F66C8 #5D3FC8 #A23FC8
triadic
#5D3FC8 #C85D3F #3FC85D
tetradic
#5D3FC8 #C83F66 #AAC83F #3FC8A2
square
#5D3FC8 #C83F66 #AAC83F #3FC8A2
split-complementary
#5D3FC8 #C8A23F #66C83F
monochromatic
#301F6D #452D9D #5D3FC8 #856FD6 #AD9EE3

Accessibility & contrast

On white

6.98
#5D3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5D3FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3FC8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3FC8#FFFFFF#000000##FFFFFF
##5D3FC81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#31627E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3fc8;
/* rgb */ color: rgb(93, 63, 200);
/* oklch */ color: oklch(48.6% 0.201 286.3);
Tailwind
colors: {
  custom: {
    50: '#9576da',
    500: '#5d3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #5d3fc8;
$custom-light: #9576da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3fc8",
  "rgb": {
    "r": 93,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 253.139,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48562,
    "c": 0.20051,
    "h": 286.3
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#5D3FC8
secondary
#C2D093
accent
#DF49BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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