#5D3ECC#5D3ECC

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

Color values

HEX#5D3ECC
RGBrgb(93, 62, 204)
HSLhsl(253, 58%, 52%)
HSVhsv(253, 70%, 80%)
CMYKcmyk(54.4%, 69.6%, 0%, 20%)
CIE-LABlab(38.08, 49.35, -69.05)
CIE-LCHlch(38.08, 84.87, 305.56°)
OKLaboklab(48.77% 0.0566 -0.1985)
OKLCHoklch(48.77% 0.206 285.9)
XYZxyz(17.1326, 10.1311, 58.1678)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3ECC #ADCC3E
analogous
#3E66CC #5D3ECC #A43ECC
triadic
#5D3ECC #CC5D3E #3ECC5D
tetradic
#5D3ECC #CC3E66 #ADCC3E #3ECCA4
square
#5D3ECC #CC3E66 #ADCC3E #3ECCA4
split-complementary
#5D3ECC #CCA43E #66CC3E
monochromatic
#301E72 #452BA2 #5D3ECC #866ED9 #AE9FE6

Accessibility & contrast

On white

6.94
#5D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D3ECC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3ECC#FFFFFF#000000##FFFFFF
##5D3ECC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#2D6380
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5d3ecc;
/* rgb */ color: rgb(93, 62, 204);
/* oklch */ color: oklch(48.8% 0.206 285.9);
Tailwind
colors: {
  custom: {
    50: '#9676dd',
    500: '#5d3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ecc;
$custom-light: #9676dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ecc",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 253.099,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.20645,
    "h": 285.9
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#5D3ECC
secondary
#C4D294
accent
#E146C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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