#6C3AC7#6C3AC7

#6C3AC7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.205 H 293.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6C3AC7
RGBrgb(108, 58, 199)
HSLhsl(261, 56%, 50%)
HSVhsv(261, 71%, 78%)
CMYKcmyk(45.7%, 70.9%, 0%, 22%)
CIE-LABlab(38.44, 52.49, -65.48)
CIE-LCHlch(38.44, 83.92, 308.72°)
OKLaboklab(49.26% 0.0824 -0.1876)
OKLCHoklch(49.26% 0.205 293.7)
XYZxyz(18.0034, 10.3372, 55.0685)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AC7 #95C73A
analogous
#3A4EC7 #6C3AC7 #B33AC7
triadic
#6C3AC7 #C76C3A #3AC76C
tetradic
#6C3AC7 #C73A4E #95C73A #3AC7B3
square
#6C3AC7 #C73A4E #95C73A #3AC7B3
split-complementary
#6C3AC7 #C7B33A #4EC73A
monochromatic
#381E69 #522B98 #6C3AC7 #906AD5 #B399E2

Accessibility & contrast

On white

6.85
#6C3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6C3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3AC7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AC7#FFFFFF#000000##FFFFFF
##6C3AC71.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#515E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c3ac7;
/* rgb */ color: rgb(108, 58, 199);
/* oklch */ color: oklch(49.3% 0.205 293.7);
Tailwind
colors: {
  custom: {
    50: '#9e74d9',
    500: '#6c3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ac7;
$custom-light: #9e74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ac7",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 261.277,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.20486,
    "h": 293.7
  },
  "luminance": 0.10338
}

Semantic roles & 50–950 ramp

primary
#6C3AC7
secondary
#B8CE8F
accent
#DF49AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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