#6C3BCA#6C3BCA

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

Color values

HEX#6C3BCA
RGBrgb(108, 59, 202)
HSLhsl(261, 57%, 51%)
HSVhsv(261, 71%, 79%)
CMYKcmyk(46.5%, 70.8%, 0%, 20.8%)
CIE-LABlab(38.86, 52.79, -66.54)
CIE-LCHlch(38.86, 84.94, 308.43°)
OKLaboklab(49.63% 0.0808 -0.1907)
OKLCHoklch(49.63% 0.207 293)
XYZxyz(18.4060, 10.5798, 56.9380)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3BCA #99CA3B
analogous
#3B51CA #6C3BCA #B33BCA
triadic
#6C3BCA #CA6C3B #3BCA6C
tetradic
#6C3BCA #CA3B51 #99CA3B #3BCAB3
square
#6C3BCA #CA3B51 #99CA3B #3BCAB3
split-complementary
#6C3BCA #CAB33B #51CA3B
monochromatic
#391E6D #522B9D #6C3BCA #906BD7 #B49BE4

Accessibility & contrast

On white

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

On black

3.12
#6C3BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C3BCA#FFFFFF#000000##FFFFFF
##6C3BCA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#50607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6c3bca;
/* rgb */ color: rgb(108, 59, 202);
/* oklch */ color: oklch(49.6% 0.207 293.0);
Tailwind
colors: {
  custom: {
    50: '#9e75db',
    500: '#6c3bca',
    950: '#000000',
  },
}
SCSS
$custom: #6c3bca;
$custom-light: #9e75db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3bca",
  "rgb": {
    "r": 108,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 260.559,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.20711,
    "h": 293
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#6C3BCA
secondary
#BAD091
accent
#E147AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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