#6C1BAA#6C1BAA

#6C1BAA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.6% C 0.206 H 304.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6C1BAA
RGBrgb(108, 27, 170)
HSLhsl(274, 73%, 39%)
HSVhsv(274, 84%, 67%)
CMYKcmyk(36.5%, 84.1%, 0%, 33.3%)
CIE-LABlab(31.52, 58.16, -59.64)
CIE-LCHlch(31.52, 83.31, 314.28°)
OKLaboklab(43.65% 0.1153 -0.1702)
OKLCHoklch(43.65% 0.206 304.1)
XYZxyz(13.8303, 6.8743, 38.6207)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1BAA #59AA1B
analogous
#241BAA #6C1BAA #AA1BA0
triadic
#6C1BAA #AA6C1B #1BAA6C
tetradic
#6C1BAA #AA241B #59AA1B #1BA0AA
square
#6C1BAA #AA241B #59AA1B #1BA0AA
split-complementary
#6C1BAA #A0AA1B #1BAA24
monochromatic
#290A40 #4A1375 #6C1BAA #8D26DC #A95BE5

Accessibility & contrast

On white

8.84
#6C1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1BAA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1BAA#FFFFFF#000000##FFFFFF
##6C1BAA1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5F4465
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c1baa;
/* rgb */ color: rgb(108, 27, 170);
/* oklch */ color: oklch(43.6% 0.206 304.1);
Tailwind
colors: {
  custom: {
    50: '#9d64c4',
    500: '#6c1baa',
    950: '#000000',
  },
}
SCSS
$custom: #6c1baa;
$custom-light: #9d64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1baa",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 273.986,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.20558,
    "h": 304.1
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#6C1BAA
secondary
#89C958
accent
#EF3988
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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