#6C3EC3#6C3EC3

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

Color values

HEX#6C3EC3
RGBrgb(108, 62, 195)
HSLhsl(261, 53%, 50%)
HSVhsv(261, 68%, 76%)
CMYKcmyk(44.6%, 68.2%, 0%, 23.5%)
CIE-LABlab(38.85, 49.39, -62.48)
CIE-LCHlch(38.85, 79.65, 308.33°)
OKLaboklab(49.45% 0.0792 -0.1788)
OKLCHoklch(49.45% 0.196 293.9)
XYZxyz(17.7546, 10.5730, 52.7245)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EC3 #95C33E
analogous
#3E52C3 #6C3EC3 #AE3EC3
triadic
#6C3EC3 #C36C3E #3EC36C
tetradic
#6C3EC3 #C33E52 #95C33E #3EC3AE
square
#6C3EC3 #C33E52 #95C33E #3EC3AE
split-complementary
#6C3EC3 #C3AE3E #52C33E
monochromatic
#382067 #522E95 #6C3EC3 #906DD2 #B39BE0

Accessibility & contrast

On white

6.74
#6C3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C3EC3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EC3#FFFFFF#000000##FFFFFF
##6C3EC31.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#535F7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3ec3;
/* rgb */ color: rgb(108, 62, 195);
/* oklch */ color: oklch(49.5% 0.196 293.9);
Tailwind
colors: {
  custom: {
    50: '#9d77d6',
    500: '#6c3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ec3;
$custom-light: #9d77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ec3",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 260.752,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.19553,
    "h": 293.9
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#6C3EC3
secondary
#B8CC91
accent
#DC4CAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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