#6A3CA2#6A3CA2

#6A3CA2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.159 H 301.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6A3CA2
RGBrgb(106, 60, 162)
HSLhsl(267, 46%, 44%)
HSVhsv(267, 63%, 64%)
CMYKcmyk(34.6%, 63%, 0%, 36.5%)
CIE-LABlab(35.80, 41.28, -47.89)
CIE-LCHlch(35.80, 63.23, 310.76°)
OKLaboklab(46.43% 0.0823 -0.1359)
OKLCHoklch(46.43% 0.159 301.2)
XYZxyz(14.0798, 8.9045, 35.1524)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CA2 #74A23C
analogous
#3C41A2 #6A3CA2 #9D3CA2
triadic
#6A3CA2 #A26A3C #3CA26A
tetradic
#6A3CA2 #A23C41 #74A23C #3CA29D
square
#6A3CA2 #A23C41 #74A23C #3CA29D
split-complementary
#6A3CA2 #A29D3C #41A23C
monochromatic
#301B49 #4D2B75 #6A3CA2 #8859C2 #A886D2

Accessibility & contrast

On white

7.55
#6A3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CA2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CA2#FFFFFF#000000##FFFFFF
##6A3CA21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#1954A0
Tritanopia (blue-blind)
#5E5269
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a3ca2;
/* rgb */ color: rgb(106, 60, 162);
/* oklch */ color: oklch(46.4% 0.159 301.2);
Tailwind
colors: {
  custom: {
    50: '#9974be',
    500: '#6a3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ca2;
$custom-light: #9974be;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ca2",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 267.059,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.1589,
    "h": 301.2
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#6A3CA2
secondary
#A0BC7D
accent
#D6529A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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