#6C3CA2#6C3CA2

#6C3CA2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.159 H 302.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6C3CA2
RGBrgb(108, 60, 162)
HSLhsl(268, 46%, 44%)
HSVhsv(268, 63%, 64%)
CMYKcmyk(33.3%, 63%, 0%, 36.5%)
CIE-LABlab(36.04, 41.75, -47.49)
CIE-LCHlch(36.04, 63.24, 311.32°)
OKLaboklab(46.66% 0.085 -0.1347)
OKLCHoklch(46.66% 0.159 302.3)
XYZxyz(14.3203, 9.0285, 35.1636)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CA2 #72A23C
analogous
#3C3FA2 #6C3CA2 #9F3CA2
triadic
#6C3CA2 #A26C3C #3CA26C
tetradic
#6C3CA2 #A23C3F #72A23C #3CA29F
square
#6C3CA2 #A23C3F #72A23C #3CA29F
split-complementary
#6C3CA2 #A29F3C #3FA23C
monochromatic
#301B49 #4E2B75 #6C3CA2 #8B59C2 #AA86D2

Accessibility & contrast

On white

7.49
#6C3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3CA2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CA2#FFFFFF#000000##FFFFFF
##6C3CA21.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1C54A0
Tritanopia (blue-blind)
#615269
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6c3ca2;
/* rgb */ color: rgb(108, 60, 162);
/* oklch */ color: oklch(46.7% 0.159 302.3);
Tailwind
colors: {
  custom: {
    50: '#9a74be',
    500: '#6c3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3ca2;
$custom-light: #9a74be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3ca2",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 268.235,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.15931,
    "h": 302.3
  },
  "luminance": 0.09028
}

Semantic roles & 50–950 ramp

primary
#6C3CA2
secondary
#9FBC7D
accent
#D65298
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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