#6C3ED2#6C3ED2

#6C3ED2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.213 H 291.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#6C3ED2
RGBrgb(108, 62, 210)
HSLhsl(259, 62%, 53%)
HSVhsv(259, 70%, 82%)
CMYKcmyk(48.6%, 70.5%, 0%, 17.6%)
CIE-LABlab(40.06, 53.45, -69.22)
CIE-LCHlch(40.06, 87.45, 307.68°)
OKLaboklab(50.69% 0.0766 -0.1986)
OKLCHoklch(50.69% 0.213 291.1)
XYZxyz(19.5365, 11.2858, 62.1093)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ED2 #A4D23E
analogous
#3E5AD2 #6C3ED2 #B63ED2
triadic
#6C3ED2 #D26C3E #3ED26C
tetradic
#6C3ED2 #D23E5A #A4D23E #3ED2B6
square
#6C3ED2 #D23E5A #A4D23E #3ED2B6
split-complementary
#6C3ED2 #D2B63E #5AD23E
monochromatic
#391C79 #5128AB #6C3ED2 #9270DE #B8A1E9

Accessibility & contrast

On white

6.45
#6C3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C3ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3ED2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ED2#FFFFFF#000000##FFFFFF
##6C3ED21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3ed2;
/* rgb */ color: rgb(108, 62, 210);
/* oklch */ color: oklch(50.7% 0.213 291.1);
Tailwind
colors: {
  custom: {
    50: '#9f77e1',
    500: '#6c3ed2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ed2;
$custom-light: #9f77e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ed2",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 258.649,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.21281,
    "h": 291.1
  },
  "luminance": 0.11287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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