#6A3EC2#6A3EC2

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

Color values

HEX#6A3EC2
RGBrgb(106, 62, 194)
HSLhsl(260, 52%, 50%)
HSVhsv(260, 68%, 76%)
CMYKcmyk(45.4%, 68%, 0%, 23.9%)
CIE-LABlab(38.56, 48.75, -62.39)
CIE-LCHlch(38.56, 79.17, 308.01°)
OKLaboklab(49.17% 0.0766 -0.1786)
OKLCHoklch(49.17% 0.194 293.2)
XYZxyz(17.4014, 10.4039, 52.1198)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EC2 #96C23E
analogous
#3E54C2 #6A3EC2 #AC3EC2
triadic
#6A3EC2 #C26A3E #3EC26A
tetradic
#6A3EC2 #C23E54 #96C23E #3EC2AC
square
#6A3EC2 #C23E54 #96C23E #3EC2AC
split-complementary
#6A3EC2 #C2AC3E #54C23E
monochromatic
#372066 #512F94 #6A3EC2 #8E6DD1 #B29BDF

Accessibility & contrast

On white

6.82
#6A3EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6A3EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EC2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EC2#FFFFFF#000000##FFFFFF
##6A3EC21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#505E7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a3ec2;
/* rgb */ color: rgb(106, 62, 194);
/* oklch */ color: oklch(49.2% 0.194 293.2);
Tailwind
colors: {
  custom: {
    50: '#9c76d5',
    500: '#6a3ec2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ec2;
$custom-light: #9c76d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ec2",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 260,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49166,
    "c": 0.19428,
    "h": 293.2
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#6A3EC2
secondary
#B8CB90
accent
#DB4CAC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A3EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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