#5E3EC0#5E3EC0

#5E3EC0 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.192 H 288.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5E3EC0
RGBrgb(94, 62, 192)
HSLhsl(255, 51%, 50%)
HSVhsv(255, 68%, 75%)
CMYKcmyk(51%, 67.7%, 0%, 24.7%)
CIE-LABlab(37.17, 46.03, -63.53)
CIE-LCHlch(37.17, 78.45, 305.93°)
OKLaboklab(47.83% 0.06 -0.1823)
OKLCHoklch(47.83% 0.192 288.2)
XYZxyz(15.8504, 9.6300, 50.8825)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EC0 #A0C03E
analogous
#3E5FC0 #5E3EC0 #9F3EC0
triadic
#5E3EC0 #C05E3E #3EC05E
tetradic
#5E3EC0 #C03E5F #A0C03E #3EC09F
square
#5E3EC0 #C03E5F #A0C03E #3EC09F
split-complementary
#5E3EC0 #C09F3E #5FC03E
monochromatic
#312063 #472F92 #5E3EC0 #846CCF #AB9ADE

Accessibility & contrast

On white

7.18
#5E3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5E3EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3EC0
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EC0#FFFFFF#000000##FFFFFF
##5E3EC01.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#3A5F7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3ec0;
/* rgb */ color: rgb(94, 62, 192);
/* oklch */ color: oklch(47.8% 0.192 288.2);
Tailwind
colors: {
  custom: {
    50: '#9476d4',
    500: '#5e3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ec0;
$custom-light: #9476d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ec0",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 254.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.19194,
    "h": 288.2
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#5E3EC0
secondary
#BCCA8F
accent
#DB4DB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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