#6C3AA2#6C3AA2

#6C3AA2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.162 H 302.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#6C3AA2
RGBrgb(108, 58, 162)
HSLhsl(269, 47%, 43%)
HSVhsv(269, 64%, 64%)
CMYKcmyk(33.3%, 64.2%, 0%, 36.5%)
CIE-LABlab(35.64, 42.83, -48.14)
CIE-LCHlch(35.64, 64.43, 311.66°)
OKLaboklab(46.37% 0.0875 -0.1366)
OKLCHoklch(46.37% 0.162 302.6)
XYZxyz(14.2175, 8.8229, 35.1294)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3AA2 #70A23A
analogous
#3A3CA2 #6C3AA2 #A03AA2
triadic
#6C3AA2 #A26C3A #3AA26C
tetradic
#6C3AA2 #A23A3C #70A23A #3AA2A0
square
#6C3AA2 #A23A3C #70A23A #3AA2A0
split-complementary
#6C3AA2 #A2A03A #3CA23A
monochromatic
#301A48 #4E2A75 #6C3AA2 #8B57C3 #AA84D3

Accessibility & contrast

On white

7.60
#6C3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6C3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3AA2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3AA2#FFFFFF#000000##FFFFFF
##6C3AA21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1854A0
Tritanopia (blue-blind)
#615068
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c3aa2;
/* rgb */ color: rgb(108, 58, 162);
/* oklch */ color: oklch(46.4% 0.162 302.6);
Tailwind
colors: {
  custom: {
    50: '#9a73be',
    500: '#6c3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3aa2;
$custom-light: #9a73be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3aa2",
  "rgb": {
    "r": 108,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 268.846,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.1622,
    "h": 302.6
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#6C3AA2
secondary
#9DBD7B
accent
#D75196
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6C3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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