#6B3BBC#6B3BBC

#6B3BBC is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.191 H 295.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6B3BBC
RGBrgb(107, 59, 188)
HSLhsl(262, 52%, 48%)
HSVhsv(262, 69%, 74%)
CMYKcmyk(43.1%, 68.6%, 0%, 26.3%)
CIE-LABlab(37.63, 48.88, -60.37)
CIE-LCHlch(37.63, 77.68, 309.00°)
OKLaboklab(48.38% 0.0819 -0.1726)
OKLCHoklch(48.38% 0.191 295.4)
XYZxyz(16.7021, 9.8842, 48.5951)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BBC #8CBC3B
analogous
#3B4BBC #6B3BBC #AB3BBC
triadic
#6B3BBC #BC6B3B #3BBC6B
tetradic
#6B3BBC #BC3B4B #8CBC3B #3BBCAB
square
#6B3BBC #BC3B4B #8CBC3B #3BBCAB
split-complementary
#6B3BBC #BCAB3B #4BBC3B
monochromatic
#361E5F #502C8D #6B3BBC #8D65CF #AF94DD

Accessibility & contrast

On white

7.05
#6B3BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6B3BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BBC
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BBC#FFFFFF#000000##FFFFFF
##6B3BBC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#555A77
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3bbc;
/* rgb */ color: rgb(107, 59, 188);
/* oklch */ color: oklch(48.4% 0.191 295.4);
Tailwind
colors: {
  custom: {
    50: '#9c74d1',
    500: '#6b3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bbc;
$custom-light: #9c74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bbc",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 262.326,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.19104,
    "h": 295.4
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#6B3BBC
secondary
#B1C98A
accent
#DC4CA6
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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