#6D1C8D#6D1C8D

#6D1C8D is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.178 H 313.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6D1C8D
RGBrgb(109, 28, 141)
HSLhsl(283, 67%, 33%)
HSVhsv(283, 80%, 55%)
CMYKcmyk(22.7%, 80.1%, 0%, 44.7%)
CIE-LABlab(29.43, 51.71, -45.35)
CIE-LCHlch(29.43, 68.78, 318.74°)
OKLaboklab(41.49% 0.1236 -0.1282)
OKLCHoklch(41.49% 0.178 313.9)
XYZxyz(11.5288, 6.0052, 25.7460)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C8D #3C8D1C
analogous
#341C8D #6D1C8D #8D1C74
triadic
#6D1C8D #8D6D1C #1C8D6D
tetradic
#6D1C8D #8D341C #3C8D1C #1C748D
square
#6D1C8D #8D341C #3C8D1C #1C748D
split-complementary
#6D1C8D #748D1C #1C8D34
monochromatic
#1E0827 #46125A #6D1C8D #9426C0 #B149DB

Accessibility & contrast

On white

9.54
#6D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6D1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C8D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C8D#FFFFFF#000000##FFFFFF
##6D1C8D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#6A3754
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1c8d;
/* rgb */ color: rgb(109, 28, 141);
/* oklch */ color: oklch(41.5% 0.178 313.9);
Tailwind
colors: {
  custom: {
    50: '#9b63af',
    500: '#6d1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c8d;
$custom-light: #9b63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c8d",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 283.009,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41485,
    "c": 0.17806,
    "h": 313.9
  },
  "luminance": 0.06005
}

Semantic roles & 50–950 ramp

primary
#6D1C8D
secondary
#69BD48
accent
#EA3E6F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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