#6B3AB7#6B3AB7

#6B3AB7 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.187 H 296.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6B3AB7
RGBrgb(107, 58, 183)
HSLhsl(264, 52%, 47%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(41.5%, 68.3%, 0%, 28.2%)
CIE-LABlab(37.06, 48.07, -58.36)
CIE-LCHlch(37.06, 75.60, 309.48°)
OKLaboklab(47.85% 0.0837 -0.1667)
OKLCHoklch(47.85% 0.187 296.7)
XYZxyz(16.1215, 9.5705, 45.7885)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3AB7 #86B73A
analogous
#3A48B7 #6B3AB7 #AA3AB7
triadic
#6B3AB7 #B76B3A #3AB76B
tetradic
#6B3AB7 #B73A48 #86B73A #3AB7AA
square
#6B3AB7 #B73A48 #86B73A #3AB7AA
split-complementary
#6B3AB7 #B7AA3A #48B73A
monochromatic
#351D5A #502B89 #6B3AB7 #8B61CD #AD90DC

Accessibility & contrast

On white

7.21
#6B3AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B3AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3AB7
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3AB7#FFFFFF#000000##FFFFFF
##6B3AB71.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#585874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3ab7;
/* rgb */ color: rgb(107, 58, 183);
/* oklch */ color: oklch(47.9% 0.187 296.7);
Tailwind
colors: {
  custom: {
    50: '#9b74cd',
    500: '#6b3ab7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ab7;
$custom-light: #9b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ab7",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 183
  },
  "hsl": {
    "h": 263.52,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.18651,
    "h": 296.7
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#6B3AB7
secondary
#ADC786
accent
#DB4CA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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