#6B3BB7#6B3BB7

#6B3BB7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.185 H 296.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6B3BB7
RGBrgb(107, 59, 183)
HSLhsl(263, 51%, 47%)
HSVhsv(263, 68%, 72%)
CMYKcmyk(41.5%, 67.8%, 0%, 28.2%)
CIE-LABlab(37.25, 47.55, -58.05)
CIE-LCHlch(37.25, 75.04, 309.32°)
OKLaboklab(47.99% 0.0827 -0.1658)
OKLCHoklch(47.99% 0.185 296.5)
XYZxyz(16.1724, 9.6723, 45.8054)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3BB7 #87B73B
analogous
#3B49B7 #6B3BB7 #A93BB7
triadic
#6B3BB7 #B76B3B #3BB76B
tetradic
#6B3BB7 #B73B49 #87B73B #3BB7A9
square
#6B3BB7 #B73B49 #87B73B #3BB7A9
split-complementary
#6B3BB7 #B7A93B #49B73B
monochromatic
#351D5A #502C89 #6B3BB7 #8C63CD #AE91DC

Accessibility & contrast

On white

7.16
#6B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3BB7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3BB7#FFFFFF#000000##FFFFFF
##6B3BB71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#585974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b3bb7;
/* rgb */ color: rgb(107, 59, 183);
/* oklch */ color: oklch(48.0% 0.185 296.5);
Tailwind
colors: {
  custom: {
    50: '#9b74cd',
    500: '#6b3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3bb7;
$custom-light: #9b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3bb7",
  "rgb": {
    "r": 107,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 263.226,
    "s": 51.24,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.18525,
    "h": 296.5
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

primary
#6B3BB7
secondary
#AEC687
accent
#DB4DA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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