#6B3CA4#6B3CA4

#6B3CA4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.162 H 301.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6B3CA4
RGBrgb(107, 60, 164)
HSLhsl(267, 46%, 44%)
HSVhsv(267, 63%, 64%)
CMYKcmyk(34.8%, 63.4%, 0%, 35.7%)
CIE-LABlab(36.06, 42.03, -48.67)
CIE-LCHlch(36.06, 64.31, 310.81°)
OKLaboklab(46.69% 0.0835 -0.1382)
OKLCHoklch(46.69% 0.162 301.2)
XYZxyz(14.3785, 9.0378, 36.1017)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3CA4 #75A43C
analogous
#3C41A4 #6B3CA4 #9F3CA4
triadic
#6B3CA4 #A46B3C #3CA46B
tetradic
#6B3CA4 #A43C41 #75A43C #3CA49F
square
#6B3CA4 #A43C41 #75A43C #3CA49F
split-complementary
#6B3CA4 #A49F3C #41A43C
monochromatic
#311B4A #4E2C77 #6B3CA4 #8A5AC3 #AA87D3

Accessibility & contrast

On white

7.48
#6B3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B3CA4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3CA4#FFFFFF#000000##FFFFFF
##6B3CA41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#1654A2
Tritanopia (blue-blind)
#5F526A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b3ca4;
/* rgb */ color: rgb(107, 60, 164);
/* oklch */ color: oklch(46.7% 0.162 301.2);
Tailwind
colors: {
  custom: {
    50: '#9974c0',
    500: '#6b3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ca4;
$custom-light: #9974c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ca4",
  "rgb": {
    "r": 107,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 267.115,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.1615,
    "h": 301.2
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#6B3CA4
secondary
#A1BD7E
accent
#D6529A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6B3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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