#6D3EAC#6D3EAC

#6D3EAC is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.8% C 0.169 H 299.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6D3EAC
RGBrgb(109, 62, 172)
HSLhsl(266, 47%, 46%)
HSVhsv(266, 64%, 67%)
CMYKcmyk(36.6%, 64%, 0%, 32.5%)
CIE-LABlab(37.25, 43.48, -51.51)
CIE-LCHlch(37.25, 67.41, 310.17°)
OKLaboklab(47.79% 0.0833 -0.1465)
OKLCHoklch(47.79% 0.169 299.6)
XYZxyz(15.4739, 9.6749, 40.0739)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EAC #7DAC3E
analogous
#3E46AC #6D3EAC #A43EAC
triadic
#6D3EAC #AC6D3E #3EAC6D
tetradic
#6D3EAC #AC3E46 #7DAC3E #3EACA4
square
#6D3EAC #AC3E46 #7DAC3E #3EACA4
split-complementary
#6D3EAC #ACA43E #46AC3E
monochromatic
#341E52 #502E7F #6D3EAC #8C61C6 #AD8ED6

Accessibility & contrast

On white

7.16
#6D3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6D3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EAC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EAC#FFFFFF#000000##FFFFFF
##6D3EAC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0C57AA
Tritanopia (blue-blind)
#5F566F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3eac;
/* rgb */ color: rgb(109, 62, 172);
/* oklch */ color: oklch(47.8% 0.169 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b76c5',
    500: '#6d3eac',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eac;
$custom-light: #9b76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eac",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 265.636,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47786,
    "c": 0.16854,
    "h": 299.6
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#6D3EAC
secondary
#A7C185
accent
#D7519E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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