#6C3CB3#6C3CB3

#6C3CB3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.179 H 297.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6C3CB3
RGBrgb(108, 60, 179)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 66%, 70%)
CMYKcmyk(39.7%, 66.5%, 0%, 29.8%)
CIE-LABlab(37.25, 46.17, -55.68)
CIE-LCHlch(37.25, 72.33, 309.67°)
OKLaboklab(47.92% 0.0835 -0.1588)
OKLCHoklch(47.92% 0.179 297.8)
XYZxyz(15.9348, 9.6743, 43.6669)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CB3 #83B33C
analogous
#3C47B3 #6C3CB3 #A83CB3
triadic
#6C3CB3 #B36C3C #3CB36C
tetradic
#6C3CB3 #B33C47 #83B33C #3CB3A8
square
#6C3CB3 #B33C47 #83B33C #3CB3A8
split-complementary
#6C3CB3 #B3A83C #47B33C
monochromatic
#351D57 #502D85 #6C3CB3 #8C62CA #AE90DA

Accessibility & contrast

On white

7.16
#6C3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6C3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CB3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CB3#FFFFFF#000000##FFFFFF
##6C3CB31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#5B5872
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3cb3;
/* rgb */ color: rgb(108, 60, 179);
/* oklch */ color: oklch(47.9% 0.179 297.8);
Tailwind
colors: {
  custom: {
    50: '#9c75cb',
    500: '#6c3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cb3;
$custom-light: #9c75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cb3",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 264.202,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.17939,
    "h": 297.8
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#6C3CB3
secondary
#ABC586
accent
#D94EA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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