#5E3DCF#5E3DCF

#5E3DCF is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.211 H 286.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5E3DCF
RGBrgb(94, 61, 207)
HSLhsl(254, 60%, 53%)
HSVhsv(254, 71%, 81%)
CMYKcmyk(54.6%, 70.5%, 0%, 18.8%)
CIE-LABlab(38.24, 50.91, -70.52)
CIE-LCHlch(38.24, 86.97, 305.83°)
OKLaboklab(48.98% 0.0583 -0.2028)
OKLCHoklch(48.98% 0.211 286)
XYZxyz(17.5439, 10.2212, 60.0678)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DCF #AECF3D
analogous
#3D65CF #5E3DCF #A73DCF
triadic
#5E3DCF #CF5E3D #3DCF5E
tetradic
#5E3DCF #CF3D65 #AECF3D #3DCFA7
square
#5E3DCF #CF3D65 #AECF3D #3DCFA7
split-complementary
#5E3DCF #CFA73D #65CF3D
monochromatic
#311D75 #4529A6 #5E3DCF #876EDB #AF9FE7

Accessibility & contrast

On white

6.90
#5E3DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5E3DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3DCF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DCF#FFFFFF#000000##FFFFFF
##5E3DCF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#2C6482
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3dcf;
/* rgb */ color: rgb(94, 61, 207);
/* oklch */ color: oklch(49.0% 0.211 286.0);
Tailwind
colors: {
  custom: {
    50: '#9775df',
    500: '#5e3dcf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3dcf;
$custom-light: #9775df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3dcf",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 207
  },
  "hsl": {
    "h": 253.562,
    "s": 60.331,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.21103,
    "h": 286
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#5E3DCF
secondary
#C5D494
accent
#E344C0
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #5E3DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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