#6C4AA2#6C4AA2

#6C4AA2 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 48.9% C 0.138 H 299.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6C4AA2
RGBrgb(108, 74, 162)
HSLhsl(263, 37%, 46%)
HSVhsv(263, 54%, 64%)
CMYKcmyk(33.3%, 54.3%, 0%, 36.5%)
CIE-LABlab(39.06, 33.79, -42.65)
CIE-LCHlch(39.06, 54.41, 308.39°)
OKLaboklab(48.87% 0.067 -0.1205)
OKLCHoklch(48.87% 0.138 299.1)
XYZxyz(15.1531, 10.6942, 35.4413)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AA2 #80A24A
analogous
#4A54A2 #6C4AA2 #984AA2
triadic
#6C4AA2 #A26C4A #4AA26C
tetradic
#6C4AA2 #A24A54 #80A24A #4AA298
square
#6C4AA2 #A24A54 #80A24A #4AA298
split-complementary
#6C4AA2 #A2984A #54A24A
monochromatic
#34244E #503778 #6C4AA2 #8C6DBC #AD97CF

Accessibility & contrast

On white

6.69
#6C4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6C4AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AA2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AA2#FFFFFF#000000##FFFFFF
##6C4AA21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#615B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c4aa2;
/* rgb */ color: rgb(108, 74, 162);
/* oklch */ color: oklch(48.9% 0.138 299.1);
Tailwind
colors: {
  custom: {
    50: '#997dbe',
    500: '#6c4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4aa2;
$custom-light: #997dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4aa2",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 263.182,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48874,
    "c": 0.13786,
    "h": 299.1
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#6C4AA2
secondary
#A9BC8C
accent
#CD5BA1
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6C4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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