#6C3EC2#6C3EC2

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

Color values

HEX#6C3EC2
RGBrgb(108, 62, 194)
HSLhsl(261, 52%, 50%)
HSVhsv(261, 68%, 76%)
CMYKcmyk(44.3%, 68%, 0%, 23.9%)
CIE-LABlab(38.77, 49.12, -62.02)
CIE-LCHlch(38.77, 79.12, 308.38°)
OKLaboklab(49.37% 0.0794 -0.1774)
OKLCHoklch(49.37% 0.194 294.1)
XYZxyz(17.6419, 10.5280, 52.1311)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EC2 #94C23E
analogous
#3E52C2 #6C3EC2 #AE3EC2
triadic
#6C3EC2 #C26C3E #3EC26C
tetradic
#6C3EC2 #C23E52 #94C23E #3EC2AE
square
#6C3EC2 #C23E52 #94C23E #3EC2AE
split-complementary
#6C3EC2 #C2AE3E #52C23E
monochromatic
#382066 #522F94 #6C3EC2 #8F6DD1 #B39BDF

Accessibility & contrast

On white

6.76
#6C3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C3EC2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EC2#FFFFFF#000000##FFFFFF
##6C3EC21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3ec2;
/* rgb */ color: rgb(108, 62, 194);
/* oklch */ color: oklch(49.4% 0.194 294.1);
Tailwind
colors: {
  custom: {
    50: '#9d76d5',
    500: '#6c3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ec2;
$custom-light: #9d76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ec2",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 260.909,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4937,
    "c": 0.19437,
    "h": 294.1
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#6C3EC2
secondary
#B7CB90
accent
#DB4CAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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