#6D3EC3#6D3EC3

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

Color values

HEX#6D3EC3
RGBrgb(109, 62, 195)
HSLhsl(261, 53%, 50%)
HSVhsv(261, 68%, 76%)
CMYKcmyk(44.1%, 68.2%, 0%, 23.5%)
CIE-LABlab(38.96, 49.58, -62.30)
CIE-LCHlch(38.96, 79.62, 308.51°)
OKLaboklab(49.55% 0.0806 -0.1782)
OKLCHoklch(49.55% 0.196 294.3)
XYZxyz(17.8770, 10.6361, 52.7303)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC3 #94C33E
analogous
#3E51C3 #6D3EC3 #AF3EC3
triadic
#6D3EC3 #C36D3E #3EC36D
tetradic
#6D3EC3 #C33E51 #94C33E #3EC3AF
square
#6D3EC3 #C33E51 #94C33E #3EC3AF
split-complementary
#6D3EC3 #C3AF3E #51C33E
monochromatic
#392067 #532E95 #6D3EC3 #906DD2 #B49BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D3EC3#FFFFFF#000000##FFFFFF
##6D3EC31.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)
#005DC7
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#555F7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3ec3;
/* rgb */ color: rgb(109, 62, 195);
/* oklch */ color: oklch(49.6% 0.196 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e77d6',
    500: '#6d3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec3;
$custom-light: #9e77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec3",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 261.203,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.19559,
    "h": 294.3
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#6D3EC3
secondary
#B7CC91
accent
#DC4CA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6D3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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