#6D1CAC#6D1CAC

#6D1CAC is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.207 H 303.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6D1CAC
RGBrgb(109, 28, 172)
HSLhsl(274, 72%, 39%)
HSVhsv(274, 84%, 67%)
CMYKcmyk(36.6%, 83.7%, 0%, 32.5%)
CIE-LABlab(31.94, 58.45, -60.14)
CIE-LCHlch(31.94, 83.87, 314.18°)
OKLaboklab(44.02% 0.1154 -0.1717)
OKLCHoklch(44.02% 0.207 303.9)
XYZxyz(14.1666, 7.0603, 39.6382)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1CAC #5BAC1C
analogous
#251CAC #6D1CAC #AC1CA3
triadic
#6D1CAC #AC6D1C #1CAC6D
tetradic
#6D1CAC #AC251C #5BAC1C #1CA3AC
square
#6D1CAC #AC251C #5BAC1C #1CA3AC
split-complementary
#6D1CAC #A3AC1C #1CAC25
monochromatic
#2A0B43 #4C1377 #6D1CAC #8E29DC #AA5EE5

Accessibility & contrast

On white

8.71
#6D1CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D1CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1CAC
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1CAC#FFFFFF#000000##FFFFFF
##6D1CAC1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1cac;
/* rgb */ color: rgb(109, 28, 172);
/* oklch */ color: oklch(44.0% 0.207 303.9);
Tailwind
colors: {
  custom: {
    50: '#9d64c6',
    500: '#6d1cac',
    950: '#000000',
  },
}
SCSS
$custom: #6d1cac;
$custom-light: #9d64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1cac",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 172
  },
  "hsl": {
    "h": 273.75,
    "s": 72,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.20687,
    "h": 303.9
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#6D1CAC
secondary
#8BC95B
accent
#EF3989
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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