#6D1D9E#6D1D9E

#6D1D9E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.193 H 308.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6D1D9E
RGBrgb(109, 29, 158)
HSLhsl(277, 69%, 37%)
HSVhsv(277, 82%, 62%)
CMYKcmyk(31%, 81.6%, 0%, 38%)
CIE-LABlab(30.88, 55.01, -53.43)
CIE-LCHlch(30.88, 76.69, 315.83°)
OKLaboklab(42.92% 0.1188 -0.1519)
OKLCHoklch(42.92% 0.193 308)
XYZxyz(12.9163, 6.5988, 32.9344)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D9E #4E9E1D
analogous
#2C1D9E #6D1D9E #9E1D8F
triadic
#6D1D9E #9E6D1D #1D9E6D
tetradic
#6D1D9E #9E2C1D #4E9E1D #1D8F9E
square
#6D1D9E #9E2C1D #4E9E1D #1D8F9E
split-complementary
#6D1D9E #8F9E1D #1D9E2C
monochromatic
#260A37 #49146A #6D1D9E #9126D2 #AB56E0

Accessibility & contrast

On white

9.05
#6D1D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D1D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D9E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D9E#FFFFFF#000000##FFFFFF
##6D1D9E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#653F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1d9e;
/* rgb */ color: rgb(109, 29, 158);
/* oklch */ color: oklch(42.9% 0.193 308.0);
Tailwind
colors: {
  custom: {
    50: '#9c64bc',
    500: '#6d1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d9e;
$custom-light: #9c64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d9e",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 277.209,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.1929,
    "h": 308
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#6D1D9E
secondary
#7EC354
accent
#EC3C7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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