#6A3CA9#6A3CA9

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

Color values

HEX#6A3CA9
RGBrgb(106, 60, 169)
HSLhsl(265, 48%, 45%)
HSVhsv(265, 64%, 66%)
CMYKcmyk(37.3%, 64.5%, 0%, 33.7%)
CIE-LABlab(36.29, 43.11, -51.30)
CIE-LCHlch(36.29, 67.01, 310.05°)
OKLaboklab(46.94% 0.0818 -0.1459)
OKLCHoklch(46.94% 0.167 299.3)
XYZxyz(14.7194, 9.1603, 38.5211)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CA9 #7BA93C
analogous
#3C45A9 #6A3CA9 #A03CA9
triadic
#6A3CA9 #A96A3C #3CA96A
tetradic
#6A3CA9 #A93C45 #7BA93C #3CA9A0
square
#6A3CA9 #A93C45 #7BA93C #3CA9A0
split-complementary
#6A3CA9 #A9A03C #45A93C
monochromatic
#311C4F #4E2C7C #6A3CA9 #895DC5 #AA8AD5

Accessibility & contrast

On white

7.42
#6A3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6A3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CA9
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CA9#FFFFFF#000000##FFFFFF
##6A3CA91.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0554A7
Tritanopia (blue-blind)
#5C546D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a3ca9;
/* rgb */ color: rgb(106, 60, 169);
/* oklch */ color: oklch(46.9% 0.167 299.3);
Tailwind
colors: {
  custom: {
    50: '#9974c3',
    500: '#6a3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ca9;
$custom-light: #9974c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ca9",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 265.321,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.1673,
    "h": 299.3
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#6A3CA9
secondary
#A5C081
accent
#D7519E
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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