#6B3EC6#6B3EC6

#6B3EC6 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.199 H 292.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#6B3EC6
RGBrgb(107, 62, 198)
HSLhsl(260, 54%, 51%)
HSVhsv(260, 69%, 78%)
CMYKcmyk(46%, 68.7%, 0%, 22.4%)
CIE-LABlab(38.98, 50.02, -64.03)
CIE-LCHlch(38.98, 81.25, 308.00°)
OKLaboklab(49.59% 0.0773 -0.1833)
OKLCHoklch(49.59% 0.199 292.9)
XYZxyz(17.9763, 10.6477, 54.5232)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC6 #99C63E
analogous
#3E55C6 #6B3EC6 #AF3EC6
triadic
#6B3EC6 #C66B3E #3EC66B
tetradic
#6B3EC6 #C63E55 #99C63E #3EC6AF
square
#6B3EC6 #C63E55 #99C63E #3EC6AF
split-complementary
#6B3EC6 #C6AF3E #55C63E
monochromatic
#381F6A #512D99 #6B3EC6 #8F6DD4 #B39CE2

Accessibility & contrast

On white

6.71
#6B3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6B3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC6
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC6#FFFFFF#000000##FFFFFF
##6B3EC61.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#50607D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b3ec6;
/* rgb */ color: rgb(107, 62, 198);
/* oklch */ color: oklch(49.6% 0.199 292.9);
Tailwind
colors: {
  custom: {
    50: '#9d77d8',
    500: '#6b3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec6;
$custom-light: #9d77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec6",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 259.853,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.19898,
    "h": 292.9
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#6B3EC6
secondary
#BACE92
accent
#DE4AAD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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