#5D3DCF#5D3DCF

#5D3DCF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 48.9% C 0.211 H 285.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5D3DCF
RGBrgb(93, 61, 207)
HSLhsl(253, 60%, 53%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(55.1%, 70.5%, 0%, 18.8%)
CIE-LABlab(38.14, 50.76, -70.68)
CIE-LCHlch(38.14, 87.01, 305.68°)
OKLaboklab(48.9% 0.0569 -0.2033)
OKLCHoklch(48.9% 0.211 285.6)
XYZxyz(17.4420, 10.1687, 60.0631)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3DCF #AFCF3D
analogous
#3D66CF #5D3DCF #A63DCF
triadic
#5D3DCF #CF5D3D #3DCF5D
tetradic
#5D3DCF #CF3D66 #AFCF3D #3DCFA6
square
#5D3DCF #CF3D66 #AFCF3D #3DCFA6
split-complementary
#5D3DCF #CFA63D #66CF3D
monochromatic
#301D75 #4429A6 #5D3DCF #866EDB #AF9FE7

Accessibility & contrast

On white

6.92
#5D3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5D3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3DCF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3DCF#FFFFFF#000000##FFFFFF
##5D3DCF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d3dcf;
/* rgb */ color: rgb(93, 61, 207);
/* oklch */ color: oklch(48.9% 0.211 285.6);
Tailwind
colors: {
  custom: {
    50: '#9675df',
    500: '#5d3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5d3dcf;
$custom-light: #9675df;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3dcf",
  "rgb": {
    "r": 93,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 253.151,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48895,
    "c": 0.21111,
    "h": 285.6
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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