#6C1DA0#6C1DA0

#6C1DA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.195 H 306.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6C1DA0
RGBrgb(108, 29, 160)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 82%, 63%)
CMYKcmyk(32.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(30.89, 55.29, -54.63)
CIE-LCHlch(30.89, 77.72, 315.34°)
OKLaboklab(42.95% 0.1169 -0.1555)
OKLCHoklch(42.95% 0.195 306.9)
XYZxyz(12.9675, 6.6051, 33.8427)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1DA0 #51A01D
analogous
#2A1DA0 #6C1DA0 #A01D93
triadic
#6C1DA0 #A06C1D #1DA06C
tetradic
#6C1DA0 #A02A1D #51A01D #1D93A0
square
#6C1DA0 #A02A1D #51A01D #1D93A0
split-complementary
#6C1DA0 #93A01D #1DA02A
monochromatic
#260A38 #49146C #6C1DA0 #8F26D4 #AA57E1

Accessibility & contrast

On white

9.05
#6C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1DA0
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1DA0#FFFFFF#000000##FFFFFF
##6C1DA01.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1da0;
/* rgb */ color: rgb(108, 29, 160);
/* oklch */ color: oklch(42.9% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#9c64bd',
    500: '#6c1da0',
    950: '#000000',
  },
}
SCSS
$custom: #6c1da0;
$custom-light: #9c64bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1da0",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 276.183,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.19453,
    "h": 306.9
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#6C1DA0
secondary
#81C455
accent
#EC3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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