#6C2AA1#6C2AA1

#6C2AA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.182 H 305.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6C2AA1
RGBrgb(108, 42, 161)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 63%)
CMYKcmyk(32.9%, 73.9%, 0%, 36.9%)
CIE-LABlab(32.74, 50.43, -52.23)
CIE-LCHlch(32.74, 72.61, 314.00°)
OKLaboklab(44.27% 0.1053 -0.1485)
OKLCHoklch(44.27% 0.182 305.3)
XYZxyz(13.4439, 7.4174, 34.4348)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA1 #5FA12A
analogous
#302AA1 #6C2AA1 #A12A9B
triadic
#6C2AA1 #A16C2A #2AA16C
tetradic
#6C2AA1 #A1302A #5FA12A #2A9BA1
square
#6C2AA1 #A1302A #5FA12A #2A9BA1
split-complementary
#6C2AA1 #9BA12A #2AA130
monochromatic
#2B1140 #4B1D70 #6C2AA1 #8C3CCC #A96DD9

Accessibility & contrast

On white

8.46
#6C2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6C2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AA1
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AA1#FFFFFF#000000##FFFFFF
##6C2AA11.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#624763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c2aa1;
/* rgb */ color: rgb(108, 42, 161);
/* oklch */ color: oklch(44.3% 0.182 305.3);
Tailwind
colors: {
  custom: {
    50: '#9b6abe',
    500: '#6c2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa1;
$custom-light: #9b6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa1",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 273.277,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.18205,
    "h": 305.3
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#6C2AA1
secondary
#8FC067
accent
#E2468B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6C2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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