#6A3EA4#6A3EA4

#6A3EA4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.158 H 300.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6A3EA4
RGBrgb(106, 62, 164)
HSLhsl(266, 45%, 44%)
HSVhsv(266, 62%, 64%)
CMYKcmyk(35.4%, 62.2%, 0%, 35.7%)
CIE-LABlab(36.35, 40.70, -48.21)
CIE-LCHlch(36.35, 63.10, 310.17°)
OKLaboklab(46.87% 0.0797 -0.1369)
OKLCHoklch(46.87% 0.158 300.2)
XYZxyz(14.3657, 9.1896, 36.1317)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EA4 #78A43E
analogous
#3E45A4 #6A3EA4 #9D3EA4
triadic
#6A3EA4 #A46A3E #3EA46A
tetradic
#6A3EA4 #A43E45 #78A43E #3EA49D
square
#6A3EA4 #A43E45 #78A43E #3EA49D
split-complementary
#6A3EA4 #A49D3E #45A43E
monochromatic
#311C4B #4D2D78 #6A3EA4 #895DC2 #A98AD3

Accessibility & contrast

On white

7.40
#6A3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6A3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3EA4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EA4#FFFFFF#000000##FFFFFF
##6A3EA41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#1955A2
Tritanopia (blue-blind)
#5E546B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3ea4;
/* rgb */ color: rgb(106, 62, 164);
/* oklch */ color: oklch(46.9% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#9975c0',
    500: '#6a3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ea4;
$custom-light: #9975c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ea4",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 265.882,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46874,
    "c": 0.15841,
    "h": 300.2
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#6A3EA4
secondary
#A3BD81
accent
#D5539D
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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