#6C3CA4#6C3CA4

#6C3CA4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.162 H 301.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6C3CA4
RGBrgb(108, 60, 164)
HSLhsl(268, 46%, 44%)
HSVhsv(268, 63%, 64%)
CMYKcmyk(34.1%, 63.4%, 0%, 35.7%)
CIE-LABlab(36.18, 42.26, -48.47)
CIE-LCHlch(36.18, 64.31, 311.08°)
OKLaboklab(46.8% 0.0849 -0.1376)
OKLCHoklch(46.8% 0.162 301.7)
XYZxyz(14.4995, 9.1001, 36.1074)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CA4 #74A43C
analogous
#3C40A4 #6C3CA4 #A03CA4
triadic
#6C3CA4 #A46C3C #3CA46C
tetradic
#6C3CA4 #A43C40 #74A43C #3CA4A0
square
#6C3CA4 #A43C40 #74A43C #3CA4A0
split-complementary
#6C3CA4 #A4A03C #40A43C
monochromatic
#311B4A #4E2C77 #6C3CA4 #8B5AC3 #AA87D3

Accessibility & contrast

On white

7.45
#6C3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6C3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CA4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CA4#FFFFFF#000000##FFFFFF
##6C3CA41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#61526A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3ca4;
/* rgb */ color: rgb(108, 60, 164);
/* oklch */ color: oklch(46.8% 0.162 301.7);
Tailwind
colors: {
  custom: {
    50: '#9a74c0',
    500: '#6c3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ca4;
$custom-light: #9a74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ca4",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 267.692,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46803,
    "c": 0.16169,
    "h": 301.7
  },
  "luminance": 0.091
}

Semantic roles & 50–950 ramp

primary
#6C3CA4
secondary
#A0BD7E
accent
#D65299
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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