#6E3EC2#6E3EC2

#6E3EC2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.195 H 295.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6E3EC2
RGBrgb(110, 62, 194)
HSLhsl(262, 52%, 50%)
HSVhsv(262, 68%, 76%)
CMYKcmyk(43.3%, 68%, 0%, 23.9%)
CIE-LABlab(38.99, 49.50, -61.66)
CIE-LCHlch(38.99, 79.07, 308.76°)
OKLaboklab(49.58% 0.0822 -0.1763)
OKLCHoklch(49.58% 0.195 295)
XYZxyz(17.8880, 10.6548, 52.1426)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E3EC2 #92C23E
analogous
#3E50C2 #6E3EC2 #B03EC2
triadic
#6E3EC2 #C26E3E #3EC26E
tetradic
#6E3EC2 #C23E50 #92C23E #3EC2B0
square
#6E3EC2 #C23E50 #92C23E #3EC2B0
split-complementary
#6E3EC2 #C2B03E #50C23E
monochromatic
#392066 #542F94 #6E3EC2 #916DD1 #B49BDF

Accessibility & contrast

On white

6.71
#6E3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6E3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E3EC2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E3EC2#FFFFFF#000000##FFFFFF
##6E3EC21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#575E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6e3ec2;
/* rgb */ color: rgb(110, 62, 194);
/* oklch */ color: oklch(49.6% 0.195 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e77d5',
    500: '#6e3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #6e3ec2;
$custom-light: #9e77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e3ec2",
  "rgb": {
    "r": 110,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 261.818,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49577,
    "c": 0.1945,
    "h": 295
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#6E3EC2
secondary
#B6CB90
accent
#DB4CA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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