#6B3FB5#6B3FB5

#6B3FB5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.178 H 296.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6B3FB5
RGBrgb(107, 63, 181)
HSLhsl(262, 48%, 48%)
HSVhsv(262, 65%, 71%)
CMYKcmyk(40.9%, 65.2%, 0%, 29%)
CIE-LABlab(37.87, 44.90, -55.86)
CIE-LCHlch(37.87, 71.66, 308.79°)
OKLaboklab(48.39% 0.0786 -0.1593)
OKLCHoklch(48.39% 0.178 296.3)
XYZxyz(16.1792, 10.0167, 44.7881)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3FB5 #89B53F
analogous
#3F4EB5 #6B3FB5 #A63FB5
triadic
#6B3FB5 #B56B3F #3FB56B
tetradic
#6B3FB5 #B53F4E #89B53F #3FB5A6
square
#6B3FB5 #B53F4E #89B53F #3FB5A6
split-complementary
#6B3FB5 #B5A63F #4EB53F
monochromatic
#351F5A #502F88 #6B3FB5 #8C67CA #AE94DA

Accessibility & contrast

On white

6.99
#6B3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6B3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3FB5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3FB5#FFFFFF#000000##FFFFFF
##6B3FB51.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#585A74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3fb5;
/* rgb */ color: rgb(107, 63, 181);
/* oklch */ color: oklch(48.4% 0.178 296.3);
Tailwind
colors: {
  custom: {
    50: '#9b77cc',
    500: '#6b3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #6b3fb5;
$custom-light: #9b77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3fb5",
  "rgb": {
    "r": 107,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 262.373,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48388,
    "c": 0.17768,
    "h": 296.3
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#6B3FB5
secondary
#AFC58A
accent
#D850A5
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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