#6B3EC9#6B3EC9

#6B3EC9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.202 H 292.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6B3EC9
RGBrgb(107, 62, 201)
HSLhsl(259, 56%, 52%)
HSVhsv(259, 69%, 79%)
CMYKcmyk(46.8%, 69.2%, 0%, 21.2%)
CIE-LABlab(39.22, 50.84, -65.38)
CIE-LCHlch(39.22, 82.82, 307.87°)
OKLaboklab(49.84% 0.0768 -0.1873)
OKLCHoklch(49.84% 0.202 292.3)
XYZxyz(18.3257, 10.7875, 56.3636)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC9 #9CC93E
analogous
#3E57C9 #6B3EC9 #B03EC9
triadic
#6B3EC9 #C96B3E #3EC96B
tetradic
#6B3EC9 #C93E57 #9CC93E #3EC9B0
square
#6B3EC9 #C93E57 #9CC93E #3EC9B0
split-complementary
#6B3EC9 #C9B03E #57C93E
monochromatic
#381F6E #512C9E #6B3EC9 #906ED6 #B49EE4

Accessibility & contrast

On white

6.65
#6B3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6B3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC9
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC9#FFFFFF#000000##FFFFFF
##6B3EC91.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#4E617F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b3ec9;
/* rgb */ color: rgb(107, 62, 201);
/* oklch */ color: oklch(49.8% 0.202 292.3);
Tailwind
colors: {
  custom: {
    50: '#9d77da',
    500: '#6b3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec9;
$custom-light: #9d77da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec9",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 259.424,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.20246,
    "h": 292.3
  },
  "luminance": 0.10788
}

Semantic roles & 50–950 ramp

primary
#6B3EC9
secondary
#BCD093
accent
#E048AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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