#6B3DC2#6B3DC2

#6B3DC2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.196 H 293.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6B3DC2
RGBrgb(107, 61, 194)
HSLhsl(261, 52%, 50%)
HSVhsv(261, 69%, 76%)
CMYKcmyk(44.8%, 68.6%, 0%, 23.9%)
CIE-LABlab(38.48, 49.45, -62.51)
CIE-LCHlch(38.48, 79.71, 308.35°)
OKLaboklab(49.13% 0.079 -0.1789)
OKLCHoklch(49.13% 0.196 293.8)
XYZxyz(17.4671, 10.3578, 52.1074)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3DC2 #94C23D
analogous
#3D51C2 #6B3DC2 #AE3DC2
triadic
#6B3DC2 #C26B3D #3DC26B
tetradic
#6B3DC2 #C23D51 #94C23D #3DC2AE
square
#6B3DC2 #C23D51 #94C23D #3DC2AE
split-complementary
#6B3DC2 #C2AE3D #51C23D
monochromatic
#382065 #512E93 #6B3DC2 #8F6CD1 #B29ADF

Accessibility & contrast

On white

6.84
#6B3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6B3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3DC2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3DC2#FFFFFF#000000##FFFFFF
##6B3DC21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#525E7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3dc2;
/* rgb */ color: rgb(107, 61, 194);
/* oklch */ color: oklch(49.1% 0.196 293.8);
Tailwind
colors: {
  custom: {
    50: '#9c76d5',
    500: '#6b3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #6b3dc2;
$custom-light: #9c76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3dc2",
  "rgb": {
    "r": 107,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 260.752,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.19554,
    "h": 293.8
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#6B3DC2
secondary
#B7CB90
accent
#DC4CAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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