#6C2CA6#6C2CA6

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

Color values

HEX#6C2CA6
RGBrgb(108, 44, 166)
HSLhsl(271, 58%, 41%)
HSVhsv(271, 73%, 65%)
CMYKcmyk(34.9%, 73.5%, 0%, 34.9%)
CIE-LABlab(33.44, 50.74, -54.10)
CIE-LCHlch(33.44, 74.17, 313.16°)
OKLaboklab(44.89% 0.1023 -0.1541)
OKLCHoklch(44.89% 0.185 303.6)
XYZxyz(13.9664, 7.7427, 36.8277)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2CA6 #66A62C
analogous
#2F2CA6 #6C2CA6 #A62CA3
triadic
#6C2CA6 #A66C2C #2CA66C
tetradic
#6C2CA6 #A62F2C #66A62C #2CA3A6
square
#6C2CA6 #A62F2C #66A62C #2CA3A6
split-complementary
#6C2CA6 #A3A62C #2CA62F
monochromatic
#2D1245 #4D1F76 #6C2CA6 #8B42CD #A973DA

Accessibility & contrast

On white

8.24
#6C2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6C2CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2CA6
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2CA6#FFFFFF#000000##FFFFFF
##6C2CA61.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#604A66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6c2ca6;
/* rgb */ color: rgb(108, 44, 166);
/* oklch */ color: oklch(44.9% 0.185 303.6);
Tailwind
colors: {
  custom: {
    50: '#9b6bc1',
    500: '#6c2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #6c2ca6;
$custom-light: #9b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2ca6",
  "rgb": {
    "r": 108,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 271.475,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.18494,
    "h": 303.6
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#6C2CA6
secondary
#95C16D
accent
#E14690
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6C2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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