#6D1D96#6D1D96

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

Color values

HEX#6D1D96
RGBrgb(109, 29, 150)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(27.3%, 80.7%, 0%, 41.2%)
CIE-LABlab(30.24, 53.27, -49.59)
CIE-LCHlch(30.24, 72.78, 317.05°)
OKLaboklab(42.27% 0.1208 -0.1406)
OKLCHoklch(42.27% 0.185 310.7)
XYZxyz(12.2500, 6.3322, 29.4252)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D96 #46961D
analogous
#301D96 #6D1D96 #961D83
triadic
#6D1D96 #966D1D #1D966D
tetradic
#6D1D96 #96301D #46961D #1D8396
square
#6D1D96 #96301D #46961D #1D8396
split-complementary
#6D1D96 #83961D #1D9630
monochromatic
#22092F #481363 #6D1D96 #9227C9 #AD50DD

Accessibility & contrast

On white

9.27
#6D1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1D96
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D96#FFFFFF#000000##FFFFFF
##6D1D961.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1d96;
/* rgb */ color: rgb(109, 29, 150);
/* oklch */ color: oklch(42.3% 0.185 310.7);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6d1d96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d96;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d96",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 279.669,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4227,
    "c": 0.18541,
    "h": 310.7
  },
  "luminance": 0.06332
}

Semantic roles & 50–950 ramp

primary
#6D1D96
secondary
#75C04F
accent
#EA3D78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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