#6D1D9D#6D1D9D

#6D1D9D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.192 H 308.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6D1D9D
RGBrgb(109, 29, 157)
HSLhsl(278, 69%, 36%)
HSVhsv(278, 82%, 62%)
CMYKcmyk(30.6%, 81.5%, 0%, 38.4%)
CIE-LABlab(30.79, 54.79, -52.96)
CIE-LCHlch(30.79, 76.20, 315.98°)
OKLaboklab(42.84% 0.1191 -0.1505)
OKLCHoklch(42.84% 0.192 308.3)
XYZxyz(12.8306, 6.5645, 32.4829)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D9D #4D9D1D
analogous
#2D1D9D #6D1D9D #9D1D8D
triadic
#6D1D9D #9D6D1D #1D9D6D
tetradic
#6D1D9D #9D2D1D #4D9D1D #1D8D9D
square
#6D1D9D #9D2D1D #4D9D1D #1D8D9D
split-complementary
#6D1D9D #8D9D1D #1D9D2D
monochromatic
#250A36 #491369 #6D1D9D #9127D1 #AC55E0

Accessibility & contrast

On white

9.08
#6D1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D1D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D9D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D9D#FFFFFF#000000##FFFFFF
##6D1D9D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#653F5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1d9d;
/* rgb */ color: rgb(109, 29, 157);
/* oklch */ color: oklch(42.8% 0.192 308.3);
Tailwind
colors: {
  custom: {
    50: '#9c64bb',
    500: '#6d1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d9d;
$custom-light: #9c64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d9d",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 277.5,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42835,
    "c": 0.19196,
    "h": 308.3
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#6D1D9D
secondary
#7DC353
accent
#EC3C7E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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