#6D1C96#6D1C96

#6D1C96 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.186 H 310.7°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6D1C96
RGBrgb(109, 28, 150)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(27.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(30.12, 53.61, -49.78)
CIE-LCHlch(30.12, 73.16, 317.12°)
OKLaboklab(42.19% 0.1216 -0.1412)
OKLCHoklch(42.19% 0.186 310.7)
XYZxyz(12.2259, 6.2840, 29.4171)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C96 #45961C
analogous
#301C96 #6D1C96 #961C82
triadic
#6D1C96 #966D1C #1C966D
tetradic
#6D1C96 #96301C #45961C #1C8296
square
#6D1C96 #96301C #45961C #1C8296
split-complementary
#6D1C96 #82961C #1C9630
monochromatic
#22092F #481262 #6D1C96 #9226CA #AE4EDE

Accessibility & contrast

On white

9.31
#6D1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6D1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C96
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C96#FFFFFF#000000##FFFFFF
##6D1C961.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#673B5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1c96;
/* rgb */ color: rgb(109, 28, 150);
/* oklch */ color: oklch(42.2% 0.186 310.7);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6d1c96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c96;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c96",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 279.836,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.18636,
    "h": 310.7
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#6D1C96
secondary
#74C14D
accent
#EB3C77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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