#6C2AA8#6C2AA8

#6C2AA8 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.189 H 303.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#6C2AA8
RGBrgb(108, 42, 168)
HSLhsl(271, 60%, 41%)
HSVhsv(271, 75%, 66%)
CMYKcmyk(35.7%, 75%, 0%, 34.1%)
CIE-LABlab(33.29, 52.10, -55.56)
CIE-LCHlch(33.29, 76.16, 313.16°)
OKLaboklab(44.83% 0.1038 -0.1583)
OKLCHoklch(44.83% 0.189 303.3)
XYZxyz(14.0785, 7.6712, 37.7772)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2AA8 #66A82A
analogous
#2D2AA8 #6C2AA8 #A82AA5
triadic
#6C2AA8 #A86C2A #2AA86C
tetradic
#6C2AA8 #A82D2A #66A82A #2AA5A8
square
#6C2AA8 #A82D2A #66A82A #2AA5A8
split-complementary
#6C2AA8 #A5A82A #2AA82D
monochromatic
#2D1246 #4D1E77 #6C2AA8 #8B40CF #A971DB

Accessibility & contrast

On white

8.29
#6C2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6C2AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2AA8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2AA8#FFFFFF#000000##FFFFFF
##6C2AA81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#604A67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c2aa8;
/* rgb */ color: rgb(108, 42, 168);
/* oklch */ color: oklch(44.8% 0.189 303.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ac3',
    500: '#6c2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #6c2aa8;
$custom-light: #9c6ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2aa8",
  "rgb": {
    "r": 108,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 271.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.18932,
    "h": 303.3
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#6C2AA8
secondary
#95C36B
accent
#E34590
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6C2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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