#6B3CC2#6B3CC2

#6B3CC2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.197 H 294.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6B3CC2
RGBrgb(107, 60, 194)
HSLhsl(261, 53%, 50%)
HSVhsv(261, 69%, 76%)
CMYKcmyk(44.8%, 69.1%, 0%, 23.9%)
CIE-LABlab(38.29, 49.97, -62.82)
CIE-LCHlch(38.29, 80.27, 308.50°)
OKLaboklab(49% 0.0799 -0.1798)
OKLCHoklch(49% 0.197 294)
XYZxyz(17.4142, 10.2521, 52.0898)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CC2 #93C23C
analogous
#3C50C2 #6B3CC2 #AE3CC2
triadic
#6B3CC2 #C26B3C #3CC26B
tetradic
#6B3CC2 #C23C50 #93C23C #3CC2AE
square
#6B3CC2 #C23C50 #93C23C #3CC2AE
split-complementary
#6B3CC2 #C2AE3C #50C23C
monochromatic
#371F65 #512E93 #6B3CC2 #8E6AD1 #B299DF

Accessibility & contrast

On white

6.88
#6B3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6B3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3CC2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CC2#FFFFFF#000000##FFFFFF
##6B3CC21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#525D7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b3cc2;
/* rgb */ color: rgb(107, 60, 194);
/* oklch */ color: oklch(49.0% 0.197 294.0);
Tailwind
colors: {
  custom: {
    50: '#9d75d5',
    500: '#6b3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cc2;
$custom-light: #9d75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cc2",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 261.045,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49,
    "c": 0.19675,
    "h": 294
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#6B3CC2
secondary
#B6CB8F
accent
#DC4CA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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