#6C3CB2#6C3CB2

#6C3CB2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.8% C 0.178 H 298.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6C3CB2
RGBrgb(108, 60, 178)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 66%, 70%)
CMYKcmyk(39.3%, 66.3%, 0%, 30.2%)
CIE-LABlab(37.18, 45.91, -55.20)
CIE-LCHlch(37.18, 71.80, 309.75°)
OKLaboklab(47.84% 0.0837 -0.1574)
OKLCHoklch(47.84% 0.178 298)
XYZxyz(15.8340, 9.6340, 43.1362)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CB2 #82B23C
analogous
#3C47B2 #6C3CB2 #A73CB2
triadic
#6C3CB2 #B26C3C #3CB26C
tetradic
#6C3CB2 #B23C47 #82B23C #3CB2A7
square
#6C3CB2 #B23C47 #82B23C #3CB2A7
split-complementary
#6C3CB2 #B2A73C #47B23C
monochromatic
#341D56 #502D84 #6C3CB2 #8C61CA #AD8FD9

Accessibility & contrast

On white

7.18
#6C3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C3CB2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CB2#FFFFFF#000000##FFFFFF
##6C3CB21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#5B5772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c3cb2;
/* rgb */ color: rgb(108, 60, 178);
/* oklch */ color: oklch(47.8% 0.178 298.0);
Tailwind
colors: {
  custom: {
    50: '#9b75ca',
    500: '#6c3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cb2;
$custom-light: #9b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cb2",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 264.407,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47843,
    "c": 0.17822,
    "h": 298
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#6C3CB2
secondary
#ABC486
accent
#D94FA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6C3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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