#5E3CC0#5E3CC0

#5E3CC0 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.194 H 288.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5E3CC0
RGBrgb(94, 60, 192)
HSLhsl(255, 52%, 49%)
HSVhsv(255, 69%, 75%)
CMYKcmyk(51%, 68.7%, 0%, 24.7%)
CIE-LABlab(36.77, 47.12, -64.18)
CIE-LCHlch(36.77, 79.62, 306.29°)
OKLaboklab(47.55% 0.0619 -0.1842)
OKLCHoklch(47.55% 0.194 288.6)
XYZxyz(15.7436, 9.4165, 50.8470)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3CC0 #9EC03C
analogous
#3C5CC0 #5E3CC0 #A03CC0
triadic
#5E3CC0 #C05E3C #3CC05E
tetradic
#5E3CC0 #C03C5C #9EC03C #3CC0A0
square
#5E3CC0 #C03C5C #9EC03C #3CC0A0
split-complementary
#5E3CC0 #C0A03C #5CC03C
monochromatic
#301F63 #472D91 #5E3CC0 #8469D0 #AA98DF

Accessibility & contrast

On white

7.28
#5E3CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E3CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3CC0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3CC0#FFFFFF#000000##FFFFFF
##5E3CC01.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#3A5E79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e3cc0;
/* rgb */ color: rgb(94, 60, 192);
/* oklch */ color: oklch(47.5% 0.194 288.6);
Tailwind
colors: {
  custom: {
    50: '#9574d4',
    500: '#5e3cc0',
    950: '#000000',
  },
}
SCSS
$custom: #5e3cc0;
$custom-light: #9574d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3cc0",
  "rgb": {
    "r": 94,
    "g": 60,
    "b": 192
  },
  "hsl": {
    "h": 255.455,
    "s": 52.381,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.19433,
    "h": 288.6
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#5E3CC0
secondary
#BBCA8D
accent
#DC4CB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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