#6B3EC4#6B3EC4

#6B3EC4 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.4% C 0.197 H 293.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6B3EC4
RGBrgb(107, 62, 196)
HSLhsl(260, 53%, 51%)
HSVhsv(260, 68%, 77%)
CMYKcmyk(45.4%, 68.4%, 0%, 23.1%)
CIE-LABlab(38.82, 49.48, -63.12)
CIE-LCHlch(38.82, 80.20, 308.09°)
OKLaboklab(49.43% 0.0777 -0.1807)
OKLCHoklch(49.43% 0.197 293.3)
XYZxyz(17.7471, 10.5560, 53.3163)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC4 #97C43E
analogous
#3E54C4 #6B3EC4 #AE3EC4
triadic
#6B3EC4 #C46B3E #3EC46B
tetradic
#6B3EC4 #C43E54 #97C43E #3EC4AE
square
#6B3EC4 #C43E54 #97C43E #3EC4AE
split-complementary
#6B3EC4 #C4AE3E #54C43E
monochromatic
#382068 #512E97 #6B3EC4 #8F6DD2 #B39CE1

Accessibility & contrast

On white

6.75
#6B3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6B3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC4#FFFFFF#000000##FFFFFF
##6B3EC41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#515F7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b3ec4;
/* rgb */ color: rgb(107, 62, 196);
/* oklch */ color: oklch(49.4% 0.197 293.3);
Tailwind
colors: {
  custom: {
    50: '#9d76d7',
    500: '#6b3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec4;
$custom-light: #9d76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec4",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 260.149,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49429,
    "c": 0.19666,
    "h": 293.3
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#6B3EC4
secondary
#B9CD91
accent
#DD4BAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6B3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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