#6D3EC1#6D3EC1

#6D3EC1 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.4% C 0.193 H 294.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6D3EC1
RGBrgb(109, 62, 193)
HSLhsl(262, 51%, 50%)
HSVhsv(262, 68%, 76%)
CMYKcmyk(43.5%, 67.9%, 0%, 24.3%)
CIE-LABlab(38.81, 49.04, -61.38)
CIE-LCHlch(38.81, 78.57, 308.62°)
OKLaboklab(49.39% 0.0809 -0.1755)
OKLCHoklch(49.39% 0.193 294.8)
XYZxyz(17.6524, 10.5463, 51.5473)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC1 #92C13E
analogous
#3E50C1 #6D3EC1 #AF3EC1
triadic
#6D3EC1 #C16D3E #3EC16D
tetradic
#6D3EC1 #C13E50 #92C13E #3EC1AF
square
#6D3EC1 #C13E50 #92C13E #3EC1AF
split-complementary
#6D3EC1 #C1AF3E #50C13E
monochromatic
#392064 #532F93 #6D3EC1 #906CD0 #B39BDF

Accessibility & contrast

On white

6.75
#6D3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6D3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EC1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EC1#FFFFFF#000000##FFFFFF
##6D3EC11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#565E7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d3ec1;
/* rgb */ color: rgb(109, 62, 193);
/* oklch */ color: oklch(49.4% 0.193 294.8);
Tailwind
colors: {
  custom: {
    50: '#9e77d5',
    500: '#6d3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec1;
$custom-light: #9e77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec1",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 261.527,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.49394,
    "c": 0.19327,
    "h": 294.8
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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