#6D3ED2#6D3ED2

#6D3ED2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.213 H 291.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6D3ED2
RGBrgb(109, 62, 210)
HSLhsl(259, 62%, 53%)
HSVhsv(259, 70%, 82%)
CMYKcmyk(48.1%, 70.5%, 0%, 17.6%)
CIE-LABlab(40.16, 53.62, -69.04)
CIE-LCHlch(40.16, 87.42, 307.83°)
OKLaboklab(50.78% 0.078 -0.198)
OKLCHoklch(50.78% 0.213 291.5)
XYZxyz(19.6589, 11.3489, 62.1150)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ED2 #A3D23E
analogous
#3E59D2 #6D3ED2 #B73ED2
triadic
#6D3ED2 #D26D3E #3ED26D
tetradic
#6D3ED2 #D23E59 #A3D23E #3ED2B7
square
#6D3ED2 #D23E59 #A3D23E #3ED2B7
split-complementary
#6D3ED2 #D2B73E #59D23E
monochromatic
#3A1C79 #5128AB #6D3ED2 #9370DE #B8A1E9

Accessibility & contrast

On white

6.42
#6D3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6D3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3ED2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ED2#FFFFFF#000000##FFFFFF
##6D3ED21.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#4C6484
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d3ed2;
/* rgb */ color: rgb(109, 62, 210);
/* oklch */ color: oklch(50.8% 0.213 291.5);
Tailwind
colors: {
  custom: {
    50: '#a077e1',
    500: '#6d3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ed2;
$custom-light: #a077e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ed2",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 259.054,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.21281,
    "h": 291.5
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#6D3ED2
secondary
#C2D696
accent
#E543B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6D3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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