#6A3EC3#6A3EC3

#6A3EC3 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.195 H 293.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6A3EC3
RGBrgb(106, 62, 195)
HSLhsl(260, 53%, 50%)
HSVhsv(260, 68%, 76%)
CMYKcmyk(45.6%, 68.2%, 0%, 23.5%)
CIE-LABlab(38.64, 49.02, -62.84)
CIE-LCHlch(38.64, 79.70, 307.96°)
OKLaboklab(49.25% 0.0764 -0.1799)
OKLCHoklch(49.25% 0.195 293)
XYZxyz(17.5141, 10.4490, 52.7132)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC3 #97C33E
analogous
#3E54C3 #6A3EC3 #AD3EC3
triadic
#6A3EC3 #C36A3E #3EC36A
tetradic
#6A3EC3 #C33E54 #97C33E #3EC3AD
square
#6A3EC3 #C33E54 #97C33E #3EC3AD
split-complementary
#6A3EC3 #C3AD3E #54C33E
monochromatic
#372067 #502E95 #6A3EC3 #8E6DD2 #B29BE0

Accessibility & contrast

On white

6.80
#6A3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6A3EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC3#FFFFFF#000000##FFFFFF
##6A3EC31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#505F7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3ec3;
/* rgb */ color: rgb(106, 62, 195);
/* oklch */ color: oklch(49.2% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c76d6',
    500: '#6a3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec3;
$custom-light: #9c76d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec3",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 259.85,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.19545,
    "h": 293
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#6A3EC3
secondary
#B8CC91
accent
#DC4CAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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