#6C1AA0#6C1AA0

#6C1AA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.197 H 307.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6C1AA0
RGBrgb(108, 26, 160)
HSLhsl(277, 72%, 36%)
HSVhsv(277, 84%, 63%)
CMYKcmyk(32.5%, 83.8%, 0%, 37.3%)
CIE-LABlab(30.56, 56.26, -55.17)
CIE-LCHlch(30.56, 78.80, 315.56°)
OKLaboklab(42.72% 0.1191 -0.1571)
OKLCHoklch(42.72% 0.197 307.2)
XYZxyz(12.8975, 6.4652, 33.8193)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1AA0 #4EA01A
analogous
#291AA0 #6C1AA0 #A01A91
triadic
#6C1AA0 #A06C1A #1AA06C
tetradic
#6C1AA0 #A0291A #4EA01A #1A91A0
square
#6C1AA0 #A0291A #4EA01A #1A91A0
split-complementary
#6C1AA0 #91A01A #1AA029
monochromatic
#250937 #48116B #6C1AA0 #9023D5 #AA52E3

Accessibility & contrast

On white

9.16
#6C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6C1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1AA0
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1AA0#FFFFFF#000000##FFFFFF
##6C1AA01.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#633F5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6c1aa0;
/* rgb */ color: rgb(108, 26, 160);
/* oklch */ color: oklch(42.7% 0.197 307.2);
Tailwind
colors: {
  custom: {
    50: '#9c63bd',
    500: '#6c1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #6c1aa0;
$custom-light: #9c63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1aa0",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 276.716,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.1971,
    "h": 307.2
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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