#6B3BB6#6B3BB6

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

Color values

HEX#6B3BB6
RGBrgb(107, 59, 182)
HSLhsl(263, 51%, 47%)
HSVhsv(263, 68%, 71%)
CMYKcmyk(41.2%, 67.6%, 0%, 28.6%)
CIE-LABlab(37.17, 47.28, -57.59)
CIE-LCHlch(37.17, 74.51, 309.39°)
OKLaboklab(47.91% 0.0828 -0.1644)
OKLCHoklch(47.91% 0.184 296.7)
XYZxyz(16.0687, 9.6308, 45.2592)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB6 #86B63B
analogous
#3B48B6 #6B3BB6 #A93BB6
triadic
#6B3BB6 #B66B3B #3BB66B
tetradic
#6B3BB6 #B63B48 #86B63B #3BB6A9
square
#6B3BB6 #B63B48 #86B63B #3BB6A9
split-complementary
#6B3BB6 #B6A93B #48B63B
monochromatic
#351D5A #502C88 #6B3BB6 #8B62CC #AD90DB

Accessibility & contrast

On white

7.18
#6B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB6
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB6#FFFFFF#000000##FFFFFF
##6B3BB61.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b3bb6;
/* rgb */ color: rgb(107, 59, 182);
/* oklch */ color: oklch(47.9% 0.184 296.7);
Tailwind
colors: {
  custom: {
    50: '#9b74cd',
    500: '#6b3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb6;
$custom-light: #9b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb6",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 263.415,
    "s": 51.037,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.18409,
    "h": 296.7
  },
  "luminance": 0.09631
}

Semantic roles & 50–950 ramp

primary
#6B3BB6
secondary
#ADC687
accent
#DB4DA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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