#6C3ACB#6C3ACB

#6C3ACB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.209 H 292.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6C3ACB
RGBrgb(108, 58, 203)
HSLhsl(261, 58%, 51%)
HSVhsv(261, 71%, 80%)
CMYKcmyk(46.8%, 71.4%, 0%, 20.4%)
CIE-LABlab(38.77, 53.55, -67.27)
CIE-LCHlch(38.77, 85.99, 308.52°)
OKLaboklab(49.59% 0.0816 -0.1928)
OKLCHoklch(49.59% 0.209 292.9)
XYZxyz(18.4739, 10.5255, 57.5466)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3ACB #99CB3A
analogous
#3A50CB #6C3ACB #B53ACB
triadic
#6C3ACB #CB6C3A #3ACB6C
tetradic
#6C3ACB #CB3A50 #99CB3A #3ACBB5
square
#6C3ACB #CB3A50 #99CB3A #3ACBB5
split-complementary
#6C3ACB #CBB53A #50CB3A
monochromatic
#391D6E #522A9E #6C3ACB #906AD8 #B49BE5

Accessibility & contrast

On white

6.76
#6C3ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C3ACB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3ACB#FFFFFF#000000##FFFFFF
##6C3ACB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCF
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#4F607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3acb;
/* rgb */ color: rgb(108, 58, 203);
/* oklch */ color: oklch(49.6% 0.209 292.9);
Tailwind
colors: {
  custom: {
    50: '#9e74dc',
    500: '#6c3acb',
    950: '#000000',
  },
}
SCSS
$custom: #6c3acb;
$custom-light: #9e74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3acb",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 203
  },
  "hsl": {
    "h": 260.69,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.20937,
    "h": 292.9
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#6C3ACB
secondary
#BAD090
accent
#E146AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6C3ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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