#6D3ED9#6D3ED9

#6D3ED9 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.221 H 290.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6D3ED9
RGBrgb(109, 62, 217)
HSLhsl(258, 67%, 55%)
HSVhsv(258, 71%, 85%)
CMYKcmyk(49.8%, 71.4%, 0%, 14.9%)
CIE-LABlab(40.74, 55.51, -72.12)
CIE-LCHlch(40.74, 91.01, 307.59°)
OKLaboklab(51.38% 0.0766 -0.207)
OKLCHoklch(51.38% 0.221 290.3)
XYZxyz(20.5501, 11.7054, 66.8088)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ED9 #AAD93E
analogous
#3E5CD9 #6D3ED9 #BB3ED9
triadic
#6D3ED9 #D96D3E #3ED96D
tetradic
#6D3ED9 #D93E5C #AAD93E #3ED9BB
square
#6D3ED9 #D93E5C #AAD93E #3ED9BB
split-complementary
#6D3ED9 #D9BB3E #5CD93E
monochromatic
#3A1A83 #5024B6 #6D3ED9 #9471E3 #BAA4ED

Accessibility & contrast

On white

6.29
#6D3ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6D3ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3ED9
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ED9#FFFFFF#000000##FFFFFF
##6D3ED91.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#486788
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d3ed9;
/* rgb */ color: rgb(109, 62, 217);
/* oklch */ color: oklch(51.4% 0.221 290.3);
Tailwind
colors: {
  custom: {
    50: '#a077e6',
    500: '#6d3ed9',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ed9;
$custom-light: #a077e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ed9",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 217
  },
  "hsl": {
    "h": 258.194,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.22074,
    "h": 290.3
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#6D3ED9
secondary
#C6DA99
accent
#EA3EB6
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D3ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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