#6D3EC4#6D3EC4

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

Color values

HEX#6D3EC4
RGBrgb(109, 62, 196)
HSLhsl(261, 53%, 51%)
HSVhsv(261, 68%, 77%)
CMYKcmyk(44.4%, 68.4%, 0%, 23.1%)
CIE-LABlab(39.04, 49.84, -62.76)
CIE-LCHlch(39.04, 80.14, 308.46°)
OKLaboklab(49.63% 0.0805 -0.1795)
OKLCHoklch(49.63% 0.197 294.1)
XYZxyz(17.9904, 10.6815, 53.3277)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC4 #95C43E
analogous
#3E52C4 #6D3EC4 #B03EC4
triadic
#6D3EC4 #C46D3E #3EC46D
tetradic
#6D3EC4 #C43E52 #95C43E #3EC4B0
square
#6D3EC4 #C43E52 #95C43E #3EC4B0
split-complementary
#6D3EC4 #C4B03E #52C43E
monochromatic
#392068 #532E97 #6D3EC4 #906DD2 #B49CE1

Accessibility & contrast

On white

6.70
#6D3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6D3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EC4
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EC4#FFFFFF#000000##FFFFFF
##6D3EC41.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d3ec4;
/* rgb */ color: rgb(109, 62, 196);
/* oklch */ color: oklch(49.6% 0.197 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e77d7',
    500: '#6d3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec4;
$custom-light: #9e77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec4",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 261.045,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49634,
    "c": 0.19675,
    "h": 294.1
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#6D3EC4
secondary
#B8CD91
accent
#DD4BAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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