#6A3CA5#6A3CA5

#6A3CA5 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.163 H 300.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6A3CA5
RGBrgb(106, 60, 165)
HSLhsl(266, 47%, 44%)
HSVhsv(266, 64%, 65%)
CMYKcmyk(35.8%, 63.6%, 0%, 35.3%)
CIE-LABlab(36.01, 42.07, -49.36)
CIE-LCHlch(36.01, 64.85, 310.44°)
OKLaboklab(46.65% 0.0821 -0.1403)
OKLCHoklch(46.65% 0.163 300.3)
XYZxyz(14.3496, 9.0124, 36.5736)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CA5 #77A53C
analogous
#3C42A5 #6A3CA5 #9F3CA5
triadic
#6A3CA5 #A56A3C #3CA56A
tetradic
#6A3CA5 #A53C42 #77A53C #3CA59F
square
#6A3CA5 #A53C42 #77A53C #3CA59F
split-complementary
#6A3CA5 #A59F3C #42A53C
monochromatic
#301B4B #4D2C78 #6A3CA5 #895BC3 #A988D4

Accessibility & contrast

On white

7.49
#6A3CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A3CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CA5
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CA5#FFFFFF#000000##FFFFFF
##6A3CA51.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#1254A3
Tritanopia (blue-blind)
#5D536B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3ca5;
/* rgb */ color: rgb(106, 60, 165);
/* oklch */ color: oklch(46.7% 0.163 300.3);
Tailwind
colors: {
  custom: {
    50: '#9974c0',
    500: '#6a3ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ca5;
$custom-light: #9974c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ca5",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 266.286,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.1625,
    "h": 300.3
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#6A3CA5
secondary
#A2BE7F
accent
#D6519C
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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