#6D3EC2#6D3EC2

#6D3EC2 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.194 H 294.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6D3EC2
RGBrgb(109, 62, 194)
HSLhsl(261, 52%, 50%)
HSVhsv(261, 68%, 76%)
CMYKcmyk(43.8%, 68%, 0%, 23.9%)
CIE-LABlab(38.88, 49.31, -61.84)
CIE-LCHlch(38.88, 79.09, 308.57°)
OKLaboklab(49.47% 0.0808 -0.1769)
OKLCHoklch(49.47% 0.194 294.5)
XYZxyz(17.7643, 10.5910, 52.1368)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC2 #93C23E
analogous
#3E51C2 #6D3EC2 #AF3EC2
triadic
#6D3EC2 #C26D3E #3EC26D
tetradic
#6D3EC2 #C23E51 #93C23E #3EC2AF
square
#6D3EC2 #C23E51 #93C23E #3EC2AF
split-complementary
#6D3EC2 #C2AF3E #51C23E
monochromatic
#392066 #532F94 #6D3EC2 #906DD1 #B39BDF

Accessibility & contrast

On white

6.73
#6D3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6D3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EC2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EC2#FFFFFF#000000##FFFFFF
##6D3EC21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#555E7B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3ec2;
/* rgb */ color: rgb(109, 62, 194);
/* oklch */ color: oklch(49.5% 0.194 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e77d5',
    500: '#6d3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec2;
$custom-light: #9e77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec2",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 261.364,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.19443,
    "h": 294.5
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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