#6B3EC0#6B3EC0

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

Color values

HEX#6B3EC0
RGBrgb(107, 62, 192)
HSLhsl(261, 51%, 50%)
HSVhsv(261, 68%, 75%)
CMYKcmyk(44.3%, 67.7%, 0%, 24.7%)
CIE-LABlab(38.51, 48.39, -61.29)
CIE-LCHlch(38.51, 78.09, 308.29°)
OKLaboklab(49.11% 0.0783 -0.1753)
OKLCHoklch(49.11% 0.192 294.1)
XYZxyz(17.2979, 10.3763, 50.9504)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC0 #93C03E
analogous
#3E52C0 #6B3EC0 #AC3EC0
triadic
#6B3EC0 #C06B3E #3EC06B
tetradic
#6B3EC0 #C03E52 #93C03E #3EC0AC
square
#6B3EC0 #C03E52 #93C03E #3EC0AC
split-complementary
#6B3EC0 #C0AC3E #52C03E
monochromatic
#372063 #512F92 #6B3EC0 #8E6CCF #B29ADE

Accessibility & contrast

On white

6.83
#6B3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6B3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC0
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC0#FFFFFF#000000##FFFFFF
##6B3EC01.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#535E7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3ec0;
/* rgb */ color: rgb(107, 62, 192);
/* oklch */ color: oklch(49.1% 0.192 294.1);
Tailwind
colors: {
  custom: {
    50: '#9c76d4',
    500: '#6b3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec0;
$custom-light: #9c76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec0",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 260.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.19198,
    "h": 294.1
  },
  "luminance": 0.10377
}

Semantic roles & 50–950 ramp

primary
#6B3EC0
secondary
#B6CA8F
accent
#DB4DAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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