#6B3CB2#6B3CB2

#6B3CB2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.178 H 297.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B3CB2
RGBrgb(107, 60, 178)
HSLhsl(264, 50%, 47%)
HSVhsv(264, 66%, 70%)
CMYKcmyk(39.9%, 66.3%, 0%, 30.2%)
CIE-LABlab(37.06, 45.70, -55.40)
CIE-LCHlch(37.06, 71.81, 309.52°)
OKLaboklab(47.73% 0.0823 -0.158)
OKLCHoklch(47.73% 0.178 297.5)
XYZxyz(15.7131, 9.5716, 43.1305)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CB2 #83B23C
analogous
#3C48B2 #6B3CB2 #A63CB2
triadic
#6B3CB2 #B26B3C #3CB26B
tetradic
#6B3CB2 #B23C48 #83B23C #3CB2A6
square
#6B3CB2 #B23C48 #83B23C #3CB2A6
split-complementary
#6B3CB2 #B2A63C #48B23C
monochromatic
#341D56 #4F2D84 #6B3CB2 #8B61CA #AD8FD9

Accessibility & contrast

On white

7.21
#6B3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CB2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CB2#FFFFFF#000000##FFFFFF
##6B3CB21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#5A5772
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3cb2;
/* rgb */ color: rgb(107, 60, 178);
/* oklch */ color: oklch(47.7% 0.178 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b75ca',
    500: '#6b3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3cb2;
$custom-light: #9b75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3cb2",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 263.898,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47734,
    "c": 0.1781,
    "h": 297.5
  },
  "luminance": 0.09572
}

Semantic roles & 50–950 ramp

primary
#6B3CB2
secondary
#ABC486
accent
#D94FA2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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