#6C3BB3#6C3BB3

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

Color values

HEX#6C3BB3
RGBrgb(108, 59, 179)
HSLhsl(265, 50%, 47%)
HSVhsv(265, 67%, 70%)
CMYKcmyk(39.7%, 67%, 0%, 29.8%)
CIE-LABlab(37.06, 46.69, -55.99)
CIE-LCHlch(37.06, 72.90, 309.83°)
OKLaboklab(47.78% 0.0846 -0.1597)
OKLCHoklch(47.78% 0.181 297.9)
XYZxyz(15.8829, 9.5705, 43.6496)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BB3 #82B33B
analogous
#3B46B3 #6C3BB3 #A83BB3
triadic
#6C3BB3 #B36C3B #3BB36C
tetradic
#6C3BB3 #B33B46 #82B33B #3BB3A8
square
#6C3BB3 #B33B46 #82B33B #3BB3A8
split-complementary
#6C3BB3 #B3A83B #46B33B
monochromatic
#341D57 #502C85 #6C3BB3 #8C60CB #AD8EDA

Accessibility & contrast

On white

7.21
#6C3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6C3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3BB3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3BB3#FFFFFF#000000##FFFFFF
##6C3BB31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c3bb3;
/* rgb */ color: rgb(108, 59, 179);
/* oklch */ color: oklch(47.8% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c74cb',
    500: '#6c3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bb3;
$custom-light: #9c74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bb3",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 264.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47782,
    "c": 0.18071,
    "h": 297.9
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#6C3BB3
secondary
#ABC585
accent
#DA4EA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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