#6B3CB7#6B3CB7

#6B3CB7 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.184 H 296.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6B3CB7
RGBrgb(107, 60, 183)
HSLhsl(263, 51%, 48%)
HSVhsv(263, 67%, 72%)
CMYKcmyk(41.5%, 67.2%, 0%, 28.2%)
CIE-LABlab(37.44, 47.03, -57.74)
CIE-LCHlch(37.44, 74.47, 309.16°)
OKLaboklab(48.12% 0.0816 -0.1649)
OKLCHoklch(48.12% 0.184 296.3)
XYZxyz(16.2243, 9.7761, 45.8227)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CB7 #88B73C
analogous
#3C4AB7 #6B3CB7 #A83CB7
triadic
#6B3CB7 #B76B3C #3CB76B
tetradic
#6B3CB7 #B73C4A #88B73C #3CB7A8
square
#6B3CB7 #B73C4A #88B73C #3CB7A8
split-complementary
#6B3CB7 #B7A83C #4AB73C
monochromatic
#351E5B #502D89 #6B3CB7 #8C64CC #AE92DB

Accessibility & contrast

On white

7.11
#6B3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6B3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CB7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CB7#FFFFFF#000000##FFFFFF
##6B3CB71.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#585974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3cb7;
/* rgb */ color: rgb(107, 60, 183);
/* oklch */ color: oklch(48.1% 0.184 296.3);
Tailwind
colors: {
  custom: {
    50: '#9b75cd',
    500: '#6b3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cb7;
$custom-light: #9b75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cb7",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 262.927,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48122,
    "c": 0.18396,
    "h": 296.3
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#6B3CB7
secondary
#AFC688
accent
#DA4EA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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