#6D1DAC#6D1DAC

#6D1DAC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.1% C 0.206 H 303.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6D1DAC
RGBrgb(109, 29, 172)
HSLhsl(274, 71%, 39%)
HSVhsv(274, 83%, 67%)
CMYKcmyk(36.6%, 83.1%, 0%, 32.5%)
CIE-LABlab(32.05, 58.13, -59.97)
CIE-LCHlch(32.05, 83.52, 314.11°)
OKLaboklab(44.1% 0.1148 -0.1711)
OKLCHoklch(44.1% 0.206 303.8)
XYZxyz(14.1907, 7.1085, 39.6462)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1DAC #5CAC1D
analogous
#251DAC #6D1DAC #AC1DA4
triadic
#6D1DAC #AC6D1D #1DAC6D
tetradic
#6D1DAC #AC251D #5CAC1D #1DA4AC
square
#6D1DAC #AC251D #5CAC1D #1DA4AC
split-complementary
#6D1DAC #A4AC1D #1DAC25
monochromatic
#2B0B43 #4C1478 #6D1DAC #8E2BDB #AA5FE4

Accessibility & contrast

On white

8.67
#6D1DAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6D1DAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1DAC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1DAC#FFFFFF#000000##FFFFFF
##6D1DAC1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#604567
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1dac;
/* rgb */ color: rgb(109, 29, 172);
/* oklch */ color: oklch(44.1% 0.206 303.8);
Tailwind
colors: {
  custom: {
    50: '#9d65c6',
    500: '#6d1dac',
    950: '#000000',
  },
}
SCSS
$custom: #6d1dac;
$custom-light: #9d65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1dac",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 172
  },
  "hsl": {
    "h": 273.566,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.441,
    "c": 0.20606,
    "h": 303.8
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#6D1DAC
secondary
#8CC85C
accent
#EE3A89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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