#6C2AAC#6C2AAC

#6C2AAC is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 302.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6C2AAC
RGBrgb(108, 42, 172)
HSLhsl(270, 61%, 42%)
HSVhsv(270, 76%, 67%)
CMYKcmyk(37.2%, 75.6%, 0%, 32.5%)
CIE-LABlab(33.61, 53.06, -57.43)
CIE-LCHlch(33.61, 78.19, 312.74°)
OKLaboklab(45.16% 0.1029 -0.1638)
OKLCHoklch(45.16% 0.193 302.1)
XYZxyz(14.4569, 7.8226, 39.7700)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AAC #6AAC2A
analogous
#2B2AAC #6C2AAC #AC2AAB
triadic
#6C2AAC #AC6C2A #2AAC6C
tetradic
#6C2AAC #AC2B2A #6AAC2A #2AABAC
square
#6C2AAC #AC2B2A #6AAC2A #2AABAC
split-complementary
#6C2AAC #ABAC2A #2AAC2B
monochromatic
#2E124A #4D1E7B #6C2AAC #8B42D1 #A973DD

Accessibility & contrast

On white

8.19
#6C2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6C2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AAC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AAC#FFFFFF#000000##FFFFFF
##6C2AAC1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#5E4B69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c2aac;
/* rgb */ color: rgb(108, 42, 172);
/* oklch */ color: oklch(45.2% 0.193 302.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ac6',
    500: '#6c2aac',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aac;
$custom-light: #9c6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aac",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 270.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45158,
    "c": 0.19347,
    "h": 302.1
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#6C2AAC
secondary
#98C46D
accent
#E44493
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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