#5E3EE1#5E3EE1

#5E3EE1 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.231 H 283.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5E3EE1
RGBrgb(94, 62, 225)
HSLhsl(252, 73%, 56%)
HSVhsv(252, 72%, 88%)
CMYKcmyk(58.2%, 72.4%, 0%, 11.8%)
CIE-LABlab(40.01, 55.58, -77.94)
CIE-LCHlch(40.01, 95.73, 305.49°)
OKLaboklab(50.73% 0.0538 -0.2246)
OKLCHoklch(50.73% 0.231 283.5)
XYZxyz(19.9251, 11.2599, 72.3430)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EE1 #C1E13E
analogous
#3E70E1 #5E3EE1 #B03EE1
triadic
#5E3EE1 #E15E3E #3EE15E
tetradic
#5E3EE1 #E13E70 #C1E13E #3EE1B0
square
#5E3EE1 #E13E70 #C1E13E #3EE1B0
split-complementary
#5E3EE1 #E1B03E #70E13E
monochromatic
#2E168E #3F1EC3 #5E3EE1 #8A73E9 #B6A8F1

Accessibility & contrast

On white

6.46
#5E3EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5E3EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3EE1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EE1#FFFFFF#000000##FFFFFF
##5E3EE11.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0059DE
Tritanopia (blue-blind)
#076B8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e3ee1;
/* rgb */ color: rgb(94, 62, 225);
/* oklch */ color: oklch(50.7% 0.231 283.5);
Tailwind
colors: {
  custom: {
    50: '#9977ec',
    500: '#5e3ee1',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ee1;
$custom-light: #9977ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ee1",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 251.779,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.23092,
    "h": 283.5
  },
  "luminance": 0.11261
}

Semantic roles & 50–950 ramp

primary
#5E3EE1
secondary
#D2DF9C
accent
#F038CC
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5E3EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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