#6C4AAA#6C4AAA

#6C4AAA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.148 H 297.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6C4AAA
RGBrgb(108, 74, 170)
HSLhsl(261, 39%, 48%)
HSVhsv(261, 56%, 67%)
CMYKcmyk(36.5%, 56.5%, 0%, 33.3%)
CIE-LABlab(39.56, 35.94, -46.61)
CIE-LCHlch(39.56, 58.86, 307.64°)
OKLaboklab(49.4% 0.0673 -0.1321)
OKLCHoklch(49.4% 0.148 297)
XYZxyz(15.8870, 10.9877, 39.3062)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AAA #88AA4A
analogous
#4A58AA #6C4AAA #9C4AAA
triadic
#6C4AAA #AA6C4A #4AAA6C
tetradic
#6C4AAA #AA4A58 #88AA4A #4AAA9C
square
#6C4AAA #AA4A58 #88AA4A #4AAA9C
split-complementary
#6C4AAA #AA9C4A #58AA4A
monochromatic
#362555 #51377F #6C4AAA #8D70C1 #AF9BD3

Accessibility & contrast

On white

6.57
#6C4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6C4AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AAA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AAA#FFFFFF#000000##FFFFFF
##6C4AAA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAD
Deuteranopia (green-blind)
#295CA8
Tritanopia (blue-blind)
#5E5E73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6c4aaa;
/* rgb */ color: rgb(108, 74, 170);
/* oklch */ color: oklch(49.4% 0.148 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ec4',
    500: '#6c4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6c4aaa;
$custom-light: #9a7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4aaa",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 261.25,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49403,
    "c": 0.14827,
    "h": 297
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#6C4AAA
secondary
#AFC090
accent
#CF59A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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