#6C3ACC#6C3ACC

#6C3ACC is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.210 H 292.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6C3ACC
RGBrgb(108, 58, 204)
HSLhsl(261, 59%, 51%)
HSVhsv(261, 72%, 80%)
CMYKcmyk(47.1%, 71.6%, 0%, 20%)
CIE-LABlab(38.85, 53.82, -67.72)
CIE-LCHlch(38.85, 86.50, 308.48°)
OKLaboklab(49.68% 0.0813 -0.1941)
OKLCHoklch(49.68% 0.21 292.7)
XYZxyz(18.5935, 10.5733, 58.1762)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ACC #9ACC3A
analogous
#3A51CC #6C3ACC #B53ACC
triadic
#6C3ACC #CC6C3A #3ACC6C
tetradic
#6C3ACC #CC3A51 #9ACC3A #3ACCB5
square
#6C3ACC #CC3A51 #9ACC3A #3ACCB5
split-complementary
#6C3ACC #CCB53A #51CC3A
monochromatic
#391D6F #5229A0 #6C3ACC #906BD9 #B59BE5

Accessibility & contrast

On white

6.74
#6C3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6C3ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3ACC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ACC#FFFFFF#000000##FFFFFF
##6C3ACC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#4E607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3acc;
/* rgb */ color: rgb(108, 58, 204);
/* oklch */ color: oklch(49.7% 0.210 292.7);
Tailwind
colors: {
  custom: {
    50: '#9e74dd',
    500: '#6c3acc',
    950: '#000000',
  },
}
SCSS
$custom: #6c3acc;
$custom-light: #9e74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3acc",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 260.548,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.21049,
    "h": 292.7
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#6C3ACC
secondary
#BBD191
accent
#E246AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C3ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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