#6A3EC4#6A3EC4

#6A3EC4 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.197 H 292.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC4
RGBrgb(106, 62, 196)
HSLhsl(260, 53%, 51%)
HSVhsv(260, 68%, 77%)
CMYKcmyk(45.9%, 68.4%, 0%, 23.1%)
CIE-LABlab(38.72, 49.29, -63.30)
CIE-LCHlch(38.72, 80.23, 307.91°)
OKLaboklab(49.33% 0.0762 -0.1812)
OKLCHoklch(49.33% 0.197 292.8)
XYZxyz(17.6275, 10.4944, 53.3107)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC4 #98C43E
analogous
#3E55C4 #6A3EC4 #AD3EC4
triadic
#6A3EC4 #C46A3E #3EC46A
tetradic
#6A3EC4 #C43E55 #98C43E #3EC4AD
square
#6A3EC4 #C43E55 #98C43E #3EC4AD
split-complementary
#6A3EC4 #C4AD3E #55C43E
monochromatic
#372068 #502E97 #6A3EC4 #8E6DD2 #B29CE1

Accessibility & contrast

On white

6.78
#6A3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6A3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC4#FFFFFF#000000##FFFFFF
##6A3EC41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a3ec4;
/* rgb */ color: rgb(106, 62, 196);
/* oklch */ color: oklch(49.3% 0.197 292.8);
Tailwind
colors: {
  custom: {
    50: '#9c76d7',
    500: '#6a3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec4;
$custom-light: #9c76d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec4",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 259.701,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49328,
    "c": 0.19662,
    "h": 292.8
  },
  "luminance": 0.10495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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