#6A3EC7#6A3EC7

#6A3EC7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.200 H 292.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC7
RGBrgb(106, 62, 199)
HSLhsl(259, 55%, 51%)
HSVhsv(259, 69%, 78%)
CMYKcmyk(46.7%, 68.8%, 0%, 22%)
CIE-LABlab(38.95, 50.11, -64.66)
CIE-LCHlch(38.95, 81.80, 307.78°)
OKLaboklab(49.57% 0.0757 -0.1852)
OKLCHoklch(49.57% 0.2 292.2)
XYZxyz(17.9724, 10.6323, 55.1271)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC7 #9BC73E
analogous
#3E56C7 #6A3EC7 #AE3EC7
triadic
#6A3EC7 #C76A3E #3EC76A
tetradic
#6A3EC7 #C73E56 #9BC73E #3EC7AE
square
#6A3EC7 #C73E56 #9BC73E #3EC7AE
split-complementary
#6A3EC7 #C7AE3E #56C73E
monochromatic
#381F6B #502D9B #6A3EC7 #8F6DD5 #B39DE3

Accessibility & contrast

On white

6.72
#6A3EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A3EC7
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC7#FFFFFF#000000##FFFFFF
##6A3EC71.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#4D607E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a3ec7;
/* rgb */ color: rgb(106, 62, 199);
/* oklch */ color: oklch(49.6% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#9c77d9',
    500: '#6a3ec7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec7;
$custom-light: #9c77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec7",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 259.27,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49573,
    "c": 0.20012,
    "h": 292.2
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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