#6C1AB2#6C1AB2

#6C1AB2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.3% C 0.214 H 302.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6C1AB2
RGBrgb(108, 26, 178)
HSLhsl(272, 75%, 40%)
HSVhsv(272, 85%, 70%)
CMYKcmyk(39.3%, 85.4%, 0%, 30.2%)
CIE-LABlab(32.13, 60.26, -63.44)
CIE-LCHlch(32.13, 87.50, 313.53°)
OKLaboklab(44.28% 0.1132 -0.1813)
OKLCHoklch(44.28% 0.214 302)
XYZxyz(14.5877, 7.1412, 42.7207)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1AB2 #60B21A
analogous
#201AB2 #6C1AB2 #B21AAC
triadic
#6C1AB2 #B26C1A #1AB26C
tetradic
#6C1AB2 #B2201A #60B21A #1AACB2
square
#6C1AB2 #B2201A #60B21A #1AACB2
split-complementary
#6C1AB2 #ACB21A #1AB220
monochromatic
#2B0A47 #4C127D #6C1AB2 #8C29E0 #A95FE8

Accessibility & contrast

On white

8.65
#6C1AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6C1AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1AB2
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1AB2#FFFFFF#000000##FFFFFF
##6C1AB21.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#5C476A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c1ab2;
/* rgb */ color: rgb(108, 26, 178);
/* oklch */ color: oklch(44.3% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#9d64ca',
    500: '#6c1ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6c1ab2;
$custom-light: #9d64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1ab2",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 178
  },
  "hsl": {
    "h": 272.368,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.44283,
    "c": 0.21379,
    "h": 302
  },
  "luminance": 0.07141
}

Semantic roles & 50–950 ramp

primary
#6C1AB2
secondary
#8FCC5C
accent
#F1378D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C1AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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