#6B3CA5#6B3CA5

#6B3CA5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.8% C 0.163 H 300.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6B3CA5
RGBrgb(107, 60, 165)
HSLhsl(267, 47%, 44%)
HSVhsv(267, 64%, 65%)
CMYKcmyk(35.2%, 63.6%, 0%, 35.3%)
CIE-LABlab(36.13, 42.29, -49.16)
CIE-LCHlch(36.13, 64.85, 310.71°)
OKLaboklab(46.76% 0.0835 -0.1396)
OKLCHoklch(46.76% 0.163 300.9)
XYZxyz(14.4692, 9.0740, 36.5792)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CA5 #76A53C
analogous
#3C42A5 #6B3CA5 #A03CA5
triadic
#6B3CA5 #A56B3C #3CA56B
tetradic
#6B3CA5 #A53C42 #76A53C #3CA5A0
square
#6B3CA5 #A53C42 #76A53C #3CA5A0
split-complementary
#6B3CA5 #A5A03C #42A53C
monochromatic
#311B4B #4E2C78 #6B3CA5 #8A5BC3 #AA88D4

Accessibility & contrast

On white

7.46
#6B3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3CA5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CA5#FFFFFF#000000##FFFFFF
##6B3CA51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#1454A3
Tritanopia (blue-blind)
#5F536B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b3ca5;
/* rgb */ color: rgb(107, 60, 165);
/* oklch */ color: oklch(46.8% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#9a74c0',
    500: '#6b3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ca5;
$custom-light: #9a74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ca5",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 266.857,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.16269,
    "h": 300.9
  },
  "luminance": 0.09074
}

Semantic roles & 50–950 ramp

primary
#6B3CA5
secondary
#A2BE7F
accent
#D6519B
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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