#6E3EC4#6E3EC4

#6E3EC4 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.197 H 294.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6E3EC4
RGBrgb(110, 62, 196)
HSLhsl(261, 53%, 51%)
HSVhsv(261, 68%, 77%)
CMYKcmyk(43.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(39.15, 50.03, -62.57)
CIE-LCHlch(39.15, 80.11, 308.64°)
OKLaboklab(49.74% 0.0819 -0.179)
OKLCHoklch(49.74% 0.197 294.6)
XYZxyz(18.1142, 10.7453, 53.3335)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3EC4 #94C43E
analogous
#3E51C4 #6E3EC4 #B13EC4
triadic
#6E3EC4 #C46E3E #3EC46E
tetradic
#6E3EC4 #C43E51 #94C43E #3EC4B1
square
#6E3EC4 #C43E51 #94C43E #3EC4B1
split-complementary
#6E3EC4 #C4B13E #51C43E
monochromatic
#3A2068 #542E97 #6E3EC4 #916DD2 #B49CE1

Accessibility & contrast

On white

6.67
#6E3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6E3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E3EC4
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3EC4#FFFFFF#000000##FFFFFF
##6E3EC41.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#565F7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6e3ec4;
/* rgb */ color: rgb(110, 62, 196);
/* oklch */ color: oklch(49.7% 0.197 294.6);
Tailwind
colors: {
  custom: {
    50: '#9f77d7',
    500: '#6e3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #6e3ec4;
$custom-light: #9f77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3ec4",
  "rgb": {
    "r": 110,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 261.493,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49737,
    "c": 0.19681,
    "h": 294.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#6E3EC4
secondary
#B7CD91
accent
#DD4BA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#6E3EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva