#6B3AC9#6B3AC9

#6B3AC9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.3% C 0.207 H 292.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6B3AC9
RGBrgb(107, 58, 201)
HSLhsl(261, 57%, 51%)
HSVhsv(261, 71%, 79%)
CMYKcmyk(46.8%, 71.1%, 0%, 21.2%)
CIE-LABlab(38.50, 52.85, -66.56)
CIE-LCHlch(38.50, 84.99, 308.45°)
OKLaboklab(49.32% 0.0805 -0.1908)
OKLCHoklch(49.32% 0.207 292.9)
XYZxyz(18.1162, 10.3684, 56.2938)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AC9 #98C93A
analogous
#3A51C9 #6B3AC9 #B23AC9
triadic
#6B3AC9 #C96B3A #3AC96B
tetradic
#6B3AC9 #C93A51 #98C93A #3AC9B2
square
#6B3AC9 #C93A51 #98C93A #3AC9B2
split-complementary
#6B3AC9 #C9B23A #51C93A
monochromatic
#381D6B #512B9B #6B3AC9 #8F6AD6 #B39AE3

Accessibility & contrast

On white

6.83
#6B3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6B3AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3AC9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AC9#FFFFFF#000000##FFFFFF
##6B3AC91.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#4E5F7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3ac9;
/* rgb */ color: rgb(107, 58, 201);
/* oklch */ color: oklch(49.3% 0.207 292.9);
Tailwind
colors: {
  custom: {
    50: '#9e74da',
    500: '#6b3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ac9;
$custom-light: #9e74da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ac9",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 260.559,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49321,
    "c": 0.20708,
    "h": 292.9
  },
  "luminance": 0.10369
}

Semantic roles & 50–950 ramp

primary
#6B3AC9
secondary
#B9CF90
accent
#E048AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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