#6C3FC2#6C3FC2

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

Color values

HEX#6C3FC2
RGBrgb(108, 63, 194)
HSLhsl(261, 52%, 50%)
HSVhsv(261, 68%, 76%)
CMYKcmyk(44.3%, 67.5%, 0%, 23.9%)
CIE-LABlab(38.96, 48.60, -61.72)
CIE-LCHlch(38.96, 78.55, 308.22°)
OKLaboklab(49.51% 0.0784 -0.1765)
OKLCHoklch(49.51% 0.193 293.9)
XYZxyz(17.6968, 10.6377, 52.1494)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FC2 #95C23F
analogous
#3F53C2 #6C3FC2 #AE3FC2
triadic
#6C3FC2 #C26C3F #3FC26C
tetradic
#6C3FC2 #C23F53 #95C23F #3FC2AE
square
#6C3FC2 #C23F53 #95C23F #3FC2AE
split-complementary
#6C3FC2 #C2AE3F #53C23F
monochromatic
#382066 #522F95 #6C3FC2 #906DD1 #B39CE0

Accessibility & contrast

On white

6.71
#6C3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6C3FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FC2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FC2#FFFFFF#000000##FFFFFF
##6C3FC21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3fc2;
/* rgb */ color: rgb(108, 63, 194);
/* oklch */ color: oklch(49.5% 0.193 293.9);
Tailwind
colors: {
  custom: {
    50: '#9d77d5',
    500: '#6c3fc2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fc2;
$custom-light: #9d77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fc2",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 260.611,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.19314,
    "h": 293.9
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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