#6D1D97#6D1D97

#6D1D97 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 310.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6D1D97
RGBrgb(109, 29, 151)
HSLhsl(279, 68%, 35%)
HSVhsv(279, 81%, 59%)
CMYKcmyk(27.8%, 80.8%, 0%, 40.8%)
CIE-LABlab(30.31, 53.49, -50.07)
CIE-LCHlch(30.31, 73.27, 316.89°)
OKLaboklab(42.35% 0.1206 -0.1421)
OKLCHoklch(42.35% 0.186 310.3)
XYZxyz(12.3309, 6.3646, 29.8511)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D97 #47971D
analogous
#301D97 #6D1D97 #971D84
triadic
#6D1D97 #976D1D #1D976D
tetradic
#6D1D97 #97301D #47971D #1D8497
square
#6D1D97 #97301D #47971D #1D8497
split-complementary
#6D1D97 #84971D #1D9730
monochromatic
#230930 #481364 #6D1D97 #9227CA #AD51DE

Accessibility & contrast

On white

9.24
#6D1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6D1D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D97
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D97#FFFFFF#000000##FFFFFF
##6D1D971.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#673C5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1d97;
/* rgb */ color: rgb(109, 29, 151);
/* oklch */ color: oklch(42.4% 0.186 310.3);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6d1d97',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d97;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d97",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 279.344,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4235,
    "c": 0.18635,
    "h": 310.3
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#6D1D97
secondary
#76C04F
accent
#EB3D79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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