#6C3CA3#6C3CA3

#6C3CA3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.160 H 302.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6C3CA3
RGBrgb(108, 60, 163)
HSLhsl(268, 46%, 44%)
HSVhsv(268, 63%, 64%)
CMYKcmyk(33.7%, 63.2%, 0%, 36.1%)
CIE-LABlab(36.11, 42.01, -47.98)
CIE-LCHlch(36.11, 63.77, 311.20°)
OKLaboklab(46.73% 0.085 -0.1361)
OKLCHoklch(46.73% 0.16 302)
XYZxyz(14.4095, 9.0642, 35.6336)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CA3 #73A33C
analogous
#3C3FA3 #6C3CA3 #9F3CA3
triadic
#6C3CA3 #A36C3C #3CA36C
tetradic
#6C3CA3 #A33C3F #73A33C #3CA39F
square
#6C3CA3 #A33C3F #73A33C #3CA39F
split-complementary
#6C3CA3 #A39F3C #3FA33C
monochromatic
#311B4A #4E2C76 #6C3CA3 #8B5AC2 #AA87D3

Accessibility & contrast

On white

7.47
#6C3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6C3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CA3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CA3#FFFFFF#000000##FFFFFF
##6C3CA31.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#1A55A1
Tritanopia (blue-blind)
#61526A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3ca3;
/* rgb */ color: rgb(108, 60, 163);
/* oklch */ color: oklch(46.7% 0.160 302.0);
Tailwind
colors: {
  custom: {
    50: '#9a74bf',
    500: '#6c3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ca3;
$custom-light: #9a74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ca3",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 267.961,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.16049,
    "h": 302
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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