#6C1AA1#6C1AA1

#6C1AA1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.198 H 306.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6C1AA1
RGBrgb(108, 26, 161)
HSLhsl(276, 72%, 37%)
HSVhsv(276, 84%, 63%)
CMYKcmyk(32.9%, 83.9%, 0%, 36.9%)
CIE-LABlab(30.64, 56.48, -55.64)
CIE-LCHlch(30.64, 79.29, 315.43°)
OKLaboklab(42.8% 0.1188 -0.1585)
OKLCHoklch(42.8% 0.198 306.8)
XYZxyz(12.9854, 6.5003, 34.2819)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1AA1 #4FA11A
analogous
#281AA1 #6C1AA1 #A11A93
triadic
#6C1AA1 #A16C1A #1AA16C
tetradic
#6C1AA1 #A1281A #4FA11A #1A93A1
square
#6C1AA1 #A1281A #4FA11A #1A93A1
split-complementary
#6C1AA1 #93A11A #1AA128
monochromatic
#250938 #49116C #6C1AA1 #8F23D6 #AA52E3

Accessibility & contrast

On white

9.13
#6C1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6C1AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1AA1
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1AA1#FFFFFF#000000##FFFFFF
##6C1AA11.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#633F60
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c1aa1;
/* rgb */ color: rgb(108, 26, 161);
/* oklch */ color: oklch(42.8% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#9c63be',
    500: '#6c1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #6c1aa1;
$custom-light: #9c63be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1aa1",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 276.444,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.19802,
    "h": 306.8
  },
  "luminance": 0.065
}

Semantic roles & 50–950 ramp

primary
#6C1AA1
secondary
#7FC651
accent
#EF3980
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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