#6C3EC0#6C3EC0

#6C3EC0 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.192 H 294.5°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6C3EC0
RGBrgb(108, 62, 192)
HSLhsl(261, 51%, 50%)
HSVhsv(261, 68%, 75%)
CMYKcmyk(43.7%, 67.7%, 0%, 24.7%)
CIE-LABlab(38.62, 48.58, -61.11)
CIE-LCHlch(38.62, 78.07, 308.49°)
OKLaboklab(49.21% 0.0797 -0.1747)
OKLCHoklch(49.21% 0.192 294.5)
XYZxyz(17.4188, 10.4387, 50.9561)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3EC0 #92C03E
analogous
#3E51C0 #6C3EC0 #AD3EC0
triadic
#6C3EC0 #C06C3E #3EC06C
tetradic
#6C3EC0 #C03E51 #92C03E #3EC0AD
square
#6C3EC0 #C03E51 #92C03E #3EC0AD
split-complementary
#6C3EC0 #C0AD3E #51C03E
monochromatic
#382063 #522F92 #6C3EC0 #8F6CCF #B29ADE

Accessibility & contrast

On white

6.80
#6C3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6C3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3EC0
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3EC0#FFFFFF#000000##FFFFFF
##6C3EC01.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#555E7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3ec0;
/* rgb */ color: rgb(108, 62, 192);
/* oklch */ color: oklch(49.2% 0.192 294.5);
Tailwind
colors: {
  custom: {
    50: '#9d76d4',
    500: '#6c3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ec0;
$custom-light: #9d76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ec0",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 261.231,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.19205,
    "h": 294.5
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#6C3EC0
secondary
#B5CA8F
accent
#DB4DA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6C3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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