#6B3DB7#6B3DB7

#6B3DB7 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.183 H 296.2°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6B3DB7
RGBrgb(107, 61, 183)
HSLhsl(263, 50%, 48%)
HSVhsv(263, 67%, 72%)
CMYKcmyk(41.5%, 66.7%, 0%, 28.2%)
CIE-LABlab(37.63, 46.50, -57.43)
CIE-LCHlch(37.63, 73.90, 309.00°)
OKLaboklab(48.26% 0.0806 -0.164)
OKLCHoklch(48.26% 0.183 296.2)
XYZxyz(16.2771, 9.8818, 45.8404)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DB7 #89B73D
analogous
#3D4CB7 #6B3DB7 #A83DB7
triadic
#6B3DB7 #B76B3D #3DB76B
tetradic
#6B3DB7 #B73D4C #89B73D #3DB7A8
square
#6B3DB7 #B73D4C #89B73D #3DB7A8
split-complementary
#6B3DB7 #B7A83D #4CB73D
monochromatic
#351E5B #502E89 #6B3DB7 #8C65CC #AE93DB

Accessibility & contrast

On white

7.06
#6B3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6B3DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3DB7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DB7#FFFFFF#000000##FFFFFF
##6B3DB71.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#575A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b3db7;
/* rgb */ color: rgb(107, 61, 183);
/* oklch */ color: oklch(48.3% 0.183 296.2);
Tailwind
colors: {
  custom: {
    50: '#9b75cd',
    500: '#6b3db7',
    950: '#000000',
  },
}
SCSS
$custom: #6b3db7;
$custom-light: #9b75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3db7",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 262.623,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.18268,
    "h": 296.2
  },
  "luminance": 0.09882
}

Semantic roles & 50–950 ramp

primary
#6B3DB7
secondary
#AFC689
accent
#DA4EA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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