#5D3EE3#5D3EE3

#5D3EE3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.233 H 282.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5D3EE3
RGBrgb(93, 62, 227)
HSLhsl(251, 75%, 57%)
HSVhsv(251, 73%, 89%)
CMYKcmyk(59%, 72.7%, 0%, 11%)
CIE-LABlab(40.11, 56.03, -78.93)
CIE-LCHlch(40.11, 96.79, 305.37°)
OKLaboklab(50.83% 0.052 -0.2275)
OKLCHoklch(50.83% 0.233 282.9)
XYZxyz(20.0977, 11.3171, 73.7835)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D3EE3 #C4E33E
analogous
#3E72E3 #5D3EE3 #B03EE3
triadic
#5D3EE3 #E35D3E #3EE35D
tetradic
#5D3EE3 #E33E72 #C4E33E #3EE3B0
square
#5D3EE3 #E33E72 #C4E33E #3EE3B0
split-complementary
#5D3EE3 #E3B03E #72E33E
monochromatic
#2C1591 #3D1DC7 #5D3EE3 #8A73EB #B7A9F3

Accessibility & contrast

On white

6.43
#5D3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D3EE3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D3EE3#FFFFFF#000000##FFFFFF
##5D3EE31.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0059E0
Tritanopia (blue-blind)
#006C8D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d3ee3;
/* rgb */ color: rgb(93, 62, 227);
/* oklch */ color: oklch(50.8% 0.233 282.9);
Tailwind
colors: {
  custom: {
    50: '#9977ed',
    500: '#5d3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5d3ee3;
$custom-light: #9977ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d3ee3",
  "rgb": {
    "r": 93,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 251.273,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.23334,
    "h": 282.9
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#5D3EE3
secondary
#D3E09D
accent
#F137CE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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