#6B3EC8#6B3EC8

#6B3EC8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.201 H 292.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6B3EC8
RGBrgb(107, 62, 200)
HSLhsl(260, 56%, 51%)
HSVhsv(260, 69%, 78%)
CMYKcmyk(46.5%, 69%, 0%, 21.6%)
CIE-LABlab(39.14, 50.56, -64.93)
CIE-LCHlch(39.14, 82.29, 307.91°)
OKLaboklab(49.76% 0.077 -0.186)
OKLCHoklch(49.76% 0.201 292.5)
XYZxyz(18.2085, 10.7406, 55.7461)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3EC8 #9BC83E
analogous
#3E56C8 #6B3EC8 #B03EC8
triadic
#6B3EC8 #C86B3E #3EC86B
tetradic
#6B3EC8 #C83E56 #9BC83E #3EC8B0
square
#6B3EC8 #C83E56 #9BC83E #3EC8B0
split-complementary
#6B3EC8 #C8B03E #56C83E
monochromatic
#381F6D #512D9C #6B3EC8 #906ED6 #B49DE3

Accessibility & contrast

On white

6.67
#6B3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6B3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B3EC8
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3EC8#FFFFFF#000000##FFFFFF
##6B3EC81.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#4F617E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b3ec8;
/* rgb */ color: rgb(107, 62, 200);
/* oklch */ color: oklch(49.8% 0.201 292.5);
Tailwind
colors: {
  custom: {
    50: '#9d77da',
    500: '#6b3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #6b3ec8;
$custom-light: #9d77da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3ec8",
  "rgb": {
    "r": 107,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 259.565,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49755,
    "c": 0.2013,
    "h": 292.5
  },
  "luminance": 0.10741
}

Semantic roles & 50–950 ramp

primary
#6B3EC8
secondary
#BBCF92
accent
#DF49AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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