#6C3CA5#6C3CA5

#6C3CA5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.163 H 301.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6C3CA5
RGBrgb(108, 60, 165)
HSLhsl(267, 47%, 44%)
HSVhsv(267, 64%, 65%)
CMYKcmyk(34.5%, 63.6%, 0%, 35.3%)
CIE-LABlab(36.25, 42.52, -48.96)
CIE-LCHlch(36.25, 64.85, 310.97°)
OKLaboklab(46.88% 0.0849 -0.139)
OKLCHoklch(46.88% 0.163 301.4)
XYZxyz(14.5901, 9.1364, 36.5849)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CA5 #75A53C
analogous
#3C40A5 #6C3CA5 #A13CA5
triadic
#6C3CA5 #A56C3C #3CA56C
tetradic
#6C3CA5 #A53C40 #75A53C #3CA5A1
square
#6C3CA5 #A53C40 #75A53C #3CA5A1
split-complementary
#6C3CA5 #A5A13C #40A53C
monochromatic
#311B4B #4F2C78 #6C3CA5 #8B5BC3 #AA88D4

Accessibility & contrast

On white

7.43
#6C3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6C3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CA5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CA5#FFFFFF#000000##FFFFFF
##6C3CA51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#1655A3
Tritanopia (blue-blind)
#60536B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3ca5;
/* rgb */ color: rgb(108, 60, 165);
/* oklch */ color: oklch(46.9% 0.163 301.4);
Tailwind
colors: {
  custom: {
    50: '#9a74c0',
    500: '#6c3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ca5;
$custom-light: #9a74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ca5",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 267.429,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46875,
    "c": 0.16287,
    "h": 301.4
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#6C3CA5
secondary
#A1BE7F
accent
#D6519A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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