#5E3CD4#5E3CD4

#5E3CD4 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.218 H 285.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5E3CD4
RGBrgb(94, 60, 212)
HSLhsl(253, 64%, 53%)
HSVhsv(253, 72%, 83%)
CMYKcmyk(55.7%, 71.7%, 0%, 16.9%)
CIE-LABlab(38.49, 52.87, -73.00)
CIE-LCHlch(38.49, 90.13, 305.91°)
OKLaboklab(49.3% 0.0581 -0.2101)
OKLCHoklch(49.3% 0.218 285.4)
XYZxyz(18.1120, 10.3638, 63.3206)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3CD4 #B2D43C
analogous
#3C66D4 #5E3CD4 #AA3CD4
triadic
#5E3CD4 #D45E3C #3CD45E
tetradic
#5E3CD4 #D43C66 #B2D43C #3CD4AA
square
#5E3CD4 #D43C66 #B2D43C #3CD4AA
split-complementary
#5E3CD4 #D4AA3C #66D43C
monochromatic
#301B7B #4426AD #5E3CD4 #876EDF #B1A0EA

Accessibility & contrast

On white

6.83
#5E3CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E3CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3CD4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3CD4#FFFFFF#000000##FFFFFF
##5E3CD41.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#266584
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3cd4;
/* rgb */ color: rgb(94, 60, 212);
/* oklch */ color: oklch(49.3% 0.218 285.4);
Tailwind
colors: {
  custom: {
    50: '#9775e2',
    500: '#5e3cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e3cd4;
$custom-light: #9775e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3cd4",
  "rgb": {
    "r": 94,
    "g": 60,
    "b": 212
  },
  "hsl": {
    "h": 253.421,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.21796,
    "h": 285.4
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#5E3CD4
secondary
#C8D795
accent
#E741C2
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E3CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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