#6C1AA6#6C1AA6

#6C1AA6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.2% C 0.203 H 305.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#6C1AA6
RGBrgb(108, 26, 166)
HSLhsl(275, 73%, 38%)
HSVhsv(275, 84%, 65%)
CMYKcmyk(34.9%, 84.3%, 0%, 34.9%)
CIE-LABlab(31.07, 57.58, -57.97)
CIE-LCHlch(31.07, 81.71, 314.81°)
OKLaboklab(43.23% 0.1172 -0.1653)
OKLCHoklch(43.23% 0.203 305.3)
XYZxyz(13.4351, 6.6802, 36.6506)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1AA6 #54A61A
analogous
#261AA6 #6C1AA6 #A61A9A
triadic
#6C1AA6 #A66C1A #1AA66C
tetradic
#6C1AA6 #A6261A #54A61A #1A9AA6
square
#6C1AA6 #A6261A #54A61A #1A9AA6
split-complementary
#6C1AA6 #9AA61A #1AA626
monochromatic
#27093C #4A1271 #6C1AA6 #8E22DB #A956E5

Accessibility & contrast

On white

8.99
#6C1AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6C1AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1AA6
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1AA6#FFFFFF#000000##FFFFFF
##6C1AA61.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#614263
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1aa6;
/* rgb */ color: rgb(108, 26, 166);
/* oklch */ color: oklch(43.2% 0.203 305.3);
Tailwind
colors: {
  custom: {
    50: '#9c63c1',
    500: '#6c1aa6',
    950: '#000000',
  },
}
SCSS
$custom: #6c1aa6;
$custom-light: #9c63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1aa6",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 166
  },
  "hsl": {
    "h": 275.143,
    "s": 72.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.20264,
    "h": 305.3
  },
  "luminance": 0.0668
}

Semantic roles & 50–950 ramp

primary
#6C1AA6
secondary
#84C854
accent
#F03884
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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