#6D3EAA#6D3EAA

#6D3EAA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.166 H 300.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#6D3EAA
RGBrgb(109, 62, 170)
HSLhsl(266, 47%, 45%)
HSVhsv(266, 64%, 67%)
CMYKcmyk(35.9%, 63.5%, 0%, 33.3%)
CIE-LABlab(37.11, 42.96, -50.55)
CIE-LCHlch(37.11, 66.34, 310.36°)
OKLaboklab(47.64% 0.0835 -0.1436)
OKLCHoklch(47.64% 0.166 300.2)
XYZxyz(15.2832, 9.5986, 39.0699)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EAA #7BAA3E
analogous
#3E45AA #6D3EAA #A33EAA
triadic
#6D3EAA #AA6D3E #3EAA6D
tetradic
#6D3EAA #AA3E45 #7BAA3E #3EAAA3
square
#6D3EAA #AA3E45 #7BAA3E #3EAAA3
split-complementary
#6D3EAA #AAA33E #45AA3E
monochromatic
#331D50 #502E7D #6D3EAA #8C60C5 #AD8DD5

Accessibility & contrast

On white

7.19
#6D3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6D3EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EAA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EAA#FFFFFF#000000##FFFFFF
##6D3EAA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#1257A8
Tritanopia (blue-blind)
#60566E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d3eaa;
/* rgb */ color: rgb(109, 62, 170);
/* oklch */ color: oklch(47.6% 0.166 300.2);
Tailwind
colors: {
  custom: {
    50: '#9b76c4',
    500: '#6d3eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eaa;
$custom-light: #9b76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eaa",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 266.111,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4764,
    "c": 0.16616,
    "h": 300.2
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#6D3EAA
secondary
#A6C084
accent
#D6529C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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