#6B3FBB#6B3FBB

#6B3FBB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.185 H 294.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6B3FBB
RGBrgb(107, 63, 187)
HSLhsl(261, 50%, 49%)
HSVhsv(261, 66%, 73%)
CMYKcmyk(42.8%, 66.3%, 0%, 26.7%)
CIE-LABlab(38.32, 46.51, -58.67)
CIE-LCHlch(38.32, 74.87, 308.41°)
OKLaboklab(48.85% 0.0779 -0.1676)
OKLCHoklch(48.85% 0.185 294.9)
XYZxyz(16.8082, 10.2683, 48.1005)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FBB #8FBB3F
analogous
#3F51BB #6B3FBB #A93FBB
triadic
#6B3FBB #BB6B3F #3FBB6B
tetradic
#6B3FBB #BB3F51 #8FBB3F #3FBBA9
square
#6B3FBB #BB3F51 #8FBB3F #3FBBA9
split-complementary
#6B3FBB #BBA93F #51BB3F
monochromatic
#37205F #51308D #6B3FBB #8D6ACD #B098DC

Accessibility & contrast

On white

6.88
#6B3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6B3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3FBB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FBB#FFFFFF#000000##FFFFFF
##6B3FBB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#555C77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b3fbb;
/* rgb */ color: rgb(107, 63, 187);
/* oklch */ color: oklch(48.9% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#9c77d0',
    500: '#6b3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fbb;
$custom-light: #9c77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fbb",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 261.29,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.18482,
    "h": 294.9
  },
  "luminance": 0.10269
}

Semantic roles & 50–950 ramp

primary
#6B3FBB
secondary
#B3C88E
accent
#D94FA8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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