#6C1CA1#6C1CA1

#6C1CA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.196 H 306.7°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6C1CA1
RGBrgb(108, 28, 161)
HSLhsl(276, 70%, 37%)
HSVhsv(276, 83%, 63%)
CMYKcmyk(32.9%, 82.6%, 0%, 36.9%)
CIE-LABlab(30.86, 55.84, -55.29)
CIE-LCHlch(30.86, 78.58, 315.28°)
OKLaboklab(42.95% 0.1173 -0.1574)
OKLCHoklch(42.95% 0.196 306.7)
XYZxyz(13.0312, 6.5920, 34.2972)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1CA1 #51A11C
analogous
#291CA1 #6C1CA1 #A11C94
triadic
#6C1CA1 #A16C1C #1CA16C
tetradic
#6C1CA1 #A1291C #51A11C #1C94A1
square
#6C1CA1 #A1291C #51A11C #1C94A1
split-complementary
#6C1CA1 #94A11C #1CA129
monochromatic
#260A39 #49136D #6C1CA1 #8F25D5 #AA56E2

Accessibility & contrast

On white

9.06
#6C1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6C1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1CA1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1CA1#FFFFFF#000000##FFFFFF
##6C1CA11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#634060
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6c1ca1;
/* rgb */ color: rgb(108, 28, 161);
/* oklch */ color: oklch(43.0% 0.196 306.7);
Tailwind
colors: {
  custom: {
    50: '#9c64be',
    500: '#6c1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ca1;
$custom-light: #9c64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ca1",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 276.09,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.19634,
    "h": 306.7
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#6C1CA1
secondary
#81C554
accent
#ED3B82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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