#6B3AC7#6B3AC7

#6B3AC7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.205 H 293.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6B3AC7
RGBrgb(107, 58, 199)
HSLhsl(261, 56%, 50%)
HSVhsv(261, 71%, 78%)
CMYKcmyk(46.2%, 70.9%, 0%, 22%)
CIE-LABlab(38.33, 52.32, -65.67)
CIE-LCHlch(38.33, 83.96, 308.55°)
OKLaboklab(49.15% 0.0809 -0.1882)
OKLCHoklch(49.15% 0.205 293.3)
XYZxyz(17.8824, 10.2749, 55.0628)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AC7 #96C73A
analogous
#3A4FC7 #6B3AC7 #B13AC7
triadic
#6B3AC7 #C76B3A #3AC76B
tetradic
#6B3AC7 #C73A4F #96C73A #3AC7B1
square
#6B3AC7 #C73A4F #96C73A #3AC7B1
split-complementary
#6B3AC7 #C7B13A #4FC73A
monochromatic
#381E69 #512B98 #6B3AC7 #8F6AD5 #B399E2

Accessibility & contrast

On white

6.87
#6B3AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6B3AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3AC7
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AC7#FFFFFF#000000##FFFFFF
##6B3AC71.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#505E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b3ac7;
/* rgb */ color: rgb(107, 58, 199);
/* oklch */ color: oklch(49.2% 0.205 293.3);
Tailwind
colors: {
  custom: {
    50: '#9d74d9',
    500: '#6b3ac7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ac7;
$custom-light: #9d74d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ac7",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 260.851,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.20481,
    "h": 293.3
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#6B3AC7
secondary
#B8CE8F
accent
#DF49AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B3AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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