#6D3EC5#6D3EC5

#6D3EC5 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.198 H 293.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6D3EC5
RGBrgb(109, 62, 197)
HSLhsl(261, 54%, 51%)
HSVhsv(261, 69%, 77%)
CMYKcmyk(44.7%, 68.5%, 0%, 22.7%)
CIE-LABlab(39.12, 50.11, -63.21)
CIE-LCHlch(39.12, 80.67, 308.41°)
OKLaboklab(49.71% 0.0803 -0.1809)
OKLCHoklch(49.71% 0.198 293.9)
XYZxyz(18.1046, 10.7272, 53.9292)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EC5 #96C53E
analogous
#3E52C5 #6D3EC5 #B03EC5
triadic
#6D3EC5 #C56D3E #3EC56D
tetradic
#6D3EC5 #C53E52 #96C53E #3EC5B0
square
#6D3EC5 #C53E52 #96C53E #3EC5B0
split-complementary
#6D3EC5 #C5B03E #52C53E
monochromatic
#392069 #532E98 #6D3EC5 #916DD3 #B49CE1

Accessibility & contrast

On white

6.68
#6D3EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D3EC5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EC5#FFFFFF#000000##FFFFFF
##6D3EC51.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#545F7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3ec5;
/* rgb */ color: rgb(109, 62, 197);
/* oklch */ color: oklch(49.7% 0.198 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e77d8',
    500: '#6d3ec5',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ec5;
$custom-light: #9e77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ec5",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 260.889,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.1979,
    "h": 293.9
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#6D3EC5
secondary
#B9CD91
accent
#DD4BAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D3EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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