#6C3FCA#6C3FCA

#6C3FCA is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.202 H 292.4°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6C3FCA
RGBrgb(108, 63, 202)
HSLhsl(259, 57%, 52%)
HSVhsv(259, 69%, 79%)
CMYKcmyk(46.5%, 68.8%, 0%, 20.8%)
CIE-LABlab(39.59, 50.77, -65.35)
CIE-LCHlch(39.59, 82.75, 307.84°)
OKLaboklab(50.15% 0.0771 -0.1872)
OKLCHoklch(50.15% 0.202 292.4)
XYZxyz(18.6196, 11.0068, 57.0091)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FCA #9DCA3F
analogous
#3F58CA #6C3FCA #B13FCA
triadic
#6C3FCA #CA6C3F #3FCA6C
tetradic
#6C3FCA #CA3F58 #9DCA3F #3FCAB1
square
#6C3FCA #CA3F58 #9DCA3F #3FCAB1
split-complementary
#6C3FCA #CAB13F #58CA3F
monochromatic
#391F70 #522CA0 #6C3FCA #916FD7 #B59FE4

Accessibility & contrast

On white

6.56
#6C3FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6C3FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FCA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FCA#FFFFFF#000000##FFFFFF
##6C3FCA1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#4F6280
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6c3fca;
/* rgb */ color: rgb(108, 63, 202);
/* oklch */ color: oklch(50.2% 0.202 292.4);
Tailwind
colors: {
  custom: {
    50: '#9e77db',
    500: '#6c3fca',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fca;
$custom-light: #9e77db;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fca",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 259.424,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.20246,
    "h": 292.4
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#6C3FCA
secondary
#BDD194
accent
#E048AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6C3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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