#6B3AC6#6B3AC6

#6B3AC6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.204 H 293.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6B3AC6
RGBrgb(107, 58, 198)
HSLhsl(261, 55%, 50%)
HSVhsv(261, 71%, 78%)
CMYKcmyk(46%, 70.7%, 0%, 22.4%)
CIE-LABlab(38.25, 52.05, -65.22)
CIE-LCHlch(38.25, 83.44, 308.59°)
OKLaboklab(49.07% 0.0811 -0.1868)
OKLCHoklch(49.07% 0.204 293.5)
XYZxyz(17.7667, 10.2286, 54.4533)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AC6 #95C63A
analogous
#3A4FC6 #6B3AC6 #B13AC6
triadic
#6B3AC6 #C66B3A #3AC66B
tetradic
#6B3AC6 #C63A4F #95C63A #3AC6B1
square
#6B3AC6 #C63A4F #95C63A #3AC6B1
split-complementary
#6B3AC6 #C6B13A #4FC63A
monochromatic
#381E68 #512C97 #6B3AC6 #8F69D4 #B299E1

Accessibility & contrast

On white

6.89
#6B3AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6B3AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3AC6
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AC6#FFFFFF#000000##FFFFFF
##6B3AC61.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#505E7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b3ac6;
/* rgb */ color: rgb(107, 58, 198);
/* oklch */ color: oklch(49.1% 0.204 293.5);
Tailwind
colors: {
  custom: {
    50: '#9d74d8',
    500: '#6b3ac6',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ac6;
$custom-light: #9d74d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ac6",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 198
  },
  "hsl": {
    "h": 261,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.20368,
    "h": 293.5
  },
  "luminance": 0.10229
}

Semantic roles & 50–950 ramp

primary
#6B3AC6
secondary
#B7CD8F
accent
#DE49AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B3AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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