#6C2AA9#6C2AA9

#6C2AA9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.190 H 303.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6C2AA9
RGBrgb(108, 42, 169)
HSLhsl(271, 60%, 41%)
HSVhsv(271, 75%, 66%)
CMYKcmyk(36.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(33.37, 52.34, -56.03)
CIE-LCHlch(33.37, 76.67, 313.05°)
OKLaboklab(44.91% 0.1036 -0.1597)
OKLCHoklch(44.91% 0.19 303)
XYZxyz(14.1720, 7.7086, 38.2697)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA9 #67A92A
analogous
#2C2AA9 #6C2AA9 #A92AA7
triadic
#6C2AA9 #A96C2A #2AA96C
tetradic
#6C2AA9 #A92C2A #67A92A #2AA7A9
square
#6C2AA9 #A92C2A #67A92A #2AA7A9
split-complementary
#6C2AA9 #A7A92A #2AA92C
monochromatic
#2D1247 #4D1E78 #6C2AA9 #8B41D0 #A972DC

Accessibility & contrast

On white

8.26
#6C2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6C2AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AA9
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AA9#FFFFFF#000000##FFFFFF
##6C2AA91.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAD
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#5F4A68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2aa9;
/* rgb */ color: rgb(108, 42, 169);
/* oklch */ color: oklch(44.9% 0.190 303.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ac3',
    500: '#6c2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa9;
$custom-light: #9c6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa9",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 271.181,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44912,
    "c": 0.19036,
    "h": 303
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#6C2AA9
secondary
#96C36C
accent
#E34491
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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