#6C3EC4#6C3EC4

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

Color values

HEX#6C3EC4
RGBrgb(108, 62, 196)
HSLhsl(261, 53%, 51%)
HSVhsv(261, 68%, 77%)
CMYKcmyk(44.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(38.93, 49.66, -62.94)
CIE-LCHlch(38.93, 80.17, 308.28°)
OKLaboklab(49.53% 0.0791 -0.1801)
OKLCHoklch(49.53% 0.197 293.7)
XYZxyz(17.8681, 10.6184, 53.3220)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EC4 #96C43E
analogous
#3E53C4 #6C3EC4 #AF3EC4
triadic
#6C3EC4 #C46C3E #3EC46C
tetradic
#6C3EC4 #C43E53 #96C43E #3EC4AF
square
#6C3EC4 #C43E53 #96C43E #3EC4AF
split-complementary
#6C3EC4 #C4AF3E #53C43E
monochromatic
#382068 #522E97 #6C3EC4 #906DD2 #B39CE1

Accessibility & contrast

On white

6.72
#6C3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C3EC4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EC4#FFFFFF#000000##FFFFFF
##6C3EC41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#535F7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c3ec4;
/* rgb */ color: rgb(108, 62, 196);
/* oklch */ color: oklch(49.5% 0.197 293.7);
Tailwind
colors: {
  custom: {
    50: '#9d77d7',
    500: '#6c3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ec4;
$custom-light: #9d77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ec4",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 260.597,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.1967,
    "h": 293.7
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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