#5D3CCF#5D3CCF

#5D3CCF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.8% C 0.212 H 285.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5D3CCF
RGBrgb(93, 60, 207)
HSLhsl(253, 60%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.1%, 71%, 0%, 18.8%)
CIE-LABlab(37.96, 51.28, -70.98)
CIE-LCHlch(37.96, 87.57, 305.85°)
OKLaboklab(48.76% 0.0577 -0.2042)
OKLCHoklch(48.76% 0.212 285.8)
XYZxyz(17.3892, 10.0629, 60.0454)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3CCF #AECF3C
analogous
#3C65CF #5D3CCF #A63CCF
triadic
#5D3CCF #CF5D3C #3CCF5D
tetradic
#5D3CCF #CF3C65 #AECF3C #3CCFA6
square
#5D3CCF #CF3C65 #AECF3C #3CCFA6
split-complementary
#5D3CCF #CFA63C #65CF3C
monochromatic
#301D74 #4529A5 #5D3CCF #866DDB #AF9EE7

Accessibility & contrast

On white

6.97
#5D3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D3CCF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3CCF#FFFFFF#000000##FFFFFF
##5D3CCF1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#296382
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5d3ccf;
/* rgb */ color: rgb(93, 60, 207);
/* oklch */ color: oklch(48.8% 0.212 285.8);
Tailwind
colors: {
  custom: {
    50: '#9675df',
    500: '#5d3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ccf;
$custom-light: #9675df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ccf",
  "rgb": {
    "r": 93,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 253.469,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.21221,
    "h": 285.8
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#5D3CCF
secondary
#C5D393
accent
#E444C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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