#6C3CB5#6C3CB5

#6C3CB5 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.182 H 297.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6C3CB5
RGBrgb(108, 60, 181)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 67%, 71%)
CMYKcmyk(40.3%, 66.9%, 0%, 29%)
CIE-LABlab(37.40, 46.70, -56.62)
CIE-LCHlch(37.40, 73.39, 309.51°)
OKLaboklab(48.07% 0.0833 -0.1615)
OKLCHoklch(48.07% 0.182 297.3)
XYZxyz(16.1385, 9.7558, 44.7399)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3CB5 #85B53C
analogous
#3C48B5 #6C3CB5 #A93CB5
triadic
#6C3CB5 #B56C3C #3CB56C
tetradic
#6C3CB5 #B53C48 #85B53C #3CB5A9
square
#6C3CB5 #B53C48 #85B53C #3CB5A9
split-complementary
#6C3CB5 #B5A93C #48B53C
monochromatic
#351E59 #512D87 #6C3CB5 #8C63CB #AE91DB

Accessibility & contrast

On white

7.12
#6C3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3CB5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3CB5#FFFFFF#000000##FFFFFF
##6C3CB51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#5A5873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c3cb5;
/* rgb */ color: rgb(108, 60, 181);
/* oklch */ color: oklch(48.1% 0.182 297.3);
Tailwind
colors: {
  custom: {
    50: '#9c75cc',
    500: '#6c3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #6c3cb5;
$custom-light: #9c75cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3cb5",
  "rgb": {
    "r": 108,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 263.802,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.18173,
    "h": 297.3
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#6C3CB5
secondary
#ADC687
accent
#DA4EA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6C3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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