#6B3BBA#6B3BBA

#6B3BBA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.2% C 0.189 H 295.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6B3BBA
RGBrgb(107, 59, 186)
HSLhsl(263, 52%, 48%)
HSVhsv(263, 68%, 73%)
CMYKcmyk(42.5%, 68.3%, 0%, 27.1%)
CIE-LABlab(37.48, 48.35, -59.45)
CIE-LCHlch(37.48, 76.62, 309.12°)
OKLaboklab(48.22% 0.0822 -0.1699)
OKLCHoklch(48.22% 0.189 295.8)
XYZxyz(16.4880, 9.7985, 47.4675)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BBA #8ABA3B
analogous
#3B4ABA #6B3BBA #AA3BBA
triadic
#6B3BBA #BA6B3B #3BBA6B
tetradic
#6B3BBA #BA3B4A #8ABA3B #3BBAAA
square
#6B3BBA #BA3B4A #8ABA3B #3BBAAA
split-complementary
#6B3BBA #BAAA3B #4ABA3B
monochromatic
#361E5D #502C8C #6B3BBA #8C64CE #AF93DD

Accessibility & contrast

On white

7.10
#6B3BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6B3BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BBA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BBA#FFFFFF#000000##FFFFFF
##6B3BBA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#565A76
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3bba;
/* rgb */ color: rgb(107, 59, 186);
/* oklch */ color: oklch(48.2% 0.189 295.8);
Tailwind
colors: {
  custom: {
    50: '#9c74d0',
    500: '#6b3bba',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bba;
$custom-light: #9c74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bba",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 262.677,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48223,
    "c": 0.18873,
    "h": 295.8
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#6B3BBA
secondary
#B0C889
accent
#DB4DA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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