#5D3ECF#5D3ECF

#5D3ECF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.0% C 0.210 H 285.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5D3ECF
RGBrgb(93, 62, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 70%, 81%)
CMYKcmyk(55.1%, 70%, 0%, 18.8%)
CIE-LABlab(38.33, 50.23, -70.36)
CIE-LCHlch(38.33, 86.45, 305.52°)
OKLaboklab(49.03% 0.0561 -0.2024)
OKLCHoklch(49.03% 0.21 285.5)
XYZxyz(17.4959, 10.2764, 60.0810)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECF #B0CF3E
analogous
#3E67CF #5D3ECF #A63ECF
triadic
#5D3ECF #CF5D3E #3ECF5D
tetradic
#5D3ECF #CF3E67 #B0CF3E #3ECFA6
square
#5D3ECF #CF3E67 #B0CF3E #3ECFA6
split-complementary
#5D3ECF #CFA63E #67CF3E
monochromatic
#301D75 #4429A6 #5D3ECF #866FDB #AFA0E7

Accessibility & contrast

On white

6.87
#5D3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5D3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3ECF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECF#FFFFFF#000000##FFFFFF
##5D3ECF1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#296482
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3ecf;
/* rgb */ color: rgb(93, 62, 207);
/* oklch */ color: oklch(49.0% 0.210 285.5);
Tailwind
colors: {
  custom: {
    50: '#9676df',
    500: '#5d3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ecf;
$custom-light: #9676df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ecf",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 252.828,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.21002,
    "h": 285.5
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#5D3ECF
secondary
#C6D495
accent
#E344C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5D3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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