#6D3EC6#6D3EC6

#6D3EC6 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.8% C 0.199 H 293.7°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6D3EC6
RGBrgb(109, 62, 198)
HSLhsl(261, 54%, 51%)
HSVhsv(261, 69%, 78%)
CMYKcmyk(44.9%, 68.7%, 0%, 22.4%)
CIE-LABlab(39.20, 50.38, -63.67)
CIE-LCHlch(39.20, 81.19, 308.36°)
OKLaboklab(49.8% 0.0801 -0.1822)
OKLCHoklch(49.8% 0.199 293.7)
XYZxyz(18.2196, 10.7731, 54.5346)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC6 #97C63E
analogous
#3E53C6 #6D3EC6 #B13EC6
triadic
#6D3EC6 #C66D3E #3EC66D
tetradic
#6D3EC6 #C63E53 #97C63E #3EC6B1
square
#6D3EC6 #C63E53 #97C63E #3EC6B1
split-complementary
#6D3EC6 #C6B13E #53C63E
monochromatic
#391F6A #532D99 #6D3EC6 #916DD4 #B49CE2

Accessibility & contrast

On white

6.66
#6D3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6D3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EC6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EC6#FFFFFF#000000##FFFFFF
##6D3EC61.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#005AC3
Tritanopia (blue-blind)
#53607D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3ec6;
/* rgb */ color: rgb(109, 62, 198);
/* oklch */ color: oklch(49.8% 0.199 293.7);
Tailwind
colors: {
  custom: {
    50: '#9e77d8',
    500: '#6d3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec6;
$custom-light: #9e77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec6",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 260.735,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49795,
    "c": 0.19906,
    "h": 293.7
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#6D3EC6
secondary
#B9CE92
accent
#DE4AAB
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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