#6B3BB1#6B3BB1

#6B3BB1 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.178 H 297.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6B3BB1
RGBrgb(107, 59, 177)
HSLhsl(264, 50%, 46%)
HSVhsv(264, 67%, 69%)
CMYKcmyk(39.5%, 66.7%, 0%, 30.6%)
CIE-LABlab(36.80, 45.96, -55.24)
CIE-LCHlch(36.80, 71.86, 309.77°)
OKLaboklab(47.52% 0.0835 -0.1575)
OKLCHoklch(47.52% 0.178 297.9)
XYZxyz(15.5612, 9.4278, 42.5863)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB1 #81B13B
analogous
#3B46B1 #6B3BB1 #A63BB1
triadic
#6B3BB1 #B16B3B #3BB16B
tetradic
#6B3BB1 #B13B46 #81B13B #3BB1A6
square
#6B3BB1 #B13B46 #81B13B #3BB1A6
split-complementary
#6B3BB1 #B1A63B #46B13B
monochromatic
#341C55 #4F2C83 #6B3BB1 #8B5FCA #AC8DD9

Accessibility & contrast

On white

7.28
#6B3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB1
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB1#FFFFFF#000000##FFFFFF
##6B3BB11.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5A5671
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b3bb1;
/* rgb */ color: rgb(107, 59, 177);
/* oklch */ color: oklch(47.5% 0.178 297.9);
Tailwind
colors: {
  custom: {
    50: '#9b74c9',
    500: '#6b3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb1;
$custom-light: #9b74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb1",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 264.407,
    "s": 50,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47519,
    "c": 0.17825,
    "h": 297.9
  },
  "luminance": 0.09428
}

Semantic roles & 50–950 ramp

primary
#6B3BB1
secondary
#AAC484
accent
#DA4EA1
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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