#6D3EAE#6D3EAE

#6D3EAE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.171 H 299.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6D3EAE
RGBrgb(109, 62, 174)
HSLhsl(265, 47%, 46%)
HSVhsv(265, 64%, 68%)
CMYKcmyk(37.4%, 64.4%, 0%, 31.8%)
CIE-LABlab(37.39, 44.00, -52.47)
CIE-LCHlch(37.39, 68.48, 309.98°)
OKLaboklab(47.93% 0.0832 -0.1493)
OKLCHoklch(47.93% 0.171 299.1)
XYZxyz(15.6674, 9.7523, 41.0931)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EAE #7FAE3E
analogous
#3E47AE #6D3EAE #A53EAE
triadic
#6D3EAE #AE6D3E #3EAE6D
tetradic
#6D3EAE #AE3E47 #7FAE3E #3EAEA5
square
#6D3EAE #AE3E47 #7FAE3E #3EAEA5
split-complementary
#6D3EAE #AEA53E #47AE3E
monochromatic
#341E54 #512E81 #6D3EAE #8C62C7 #AD8FD7

Accessibility & contrast

On white

7.12
#6D3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6D3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EAE
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EAE#FFFFFF#000000##FFFFFF
##6D3EAE1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0457AC
Tritanopia (blue-blind)
#5E5770
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3eae;
/* rgb */ color: rgb(109, 62, 174);
/* oklch */ color: oklch(47.9% 0.171 299.1);
Tailwind
colors: {
  custom: {
    50: '#9c76c7',
    500: '#6d3eae',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eae;
$custom-light: #9c76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eae",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 265.179,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.17093,
    "h": 299.1
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#6D3EAE
secondary
#A9C286
accent
#D7519F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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