#6D1C7D#6D1C7D

#6D1C7D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.164 H 320.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6D1C7D
RGBrgb(109, 28, 125)
HSLhsl(290, 63%, 30%)
HSVhsv(290, 78%, 49%)
CMYKcmyk(12.8%, 77.6%, 0%, 51%)
CIE-LABlab(28.28, 48.46, -37.20)
CIE-LCHlch(28.28, 61.09, 322.49°)
OKLaboklab(40.31% 0.126 -0.1043)
OKLCHoklch(40.31% 0.164 320.4)
XYZxyz(10.4232, 5.5629, 19.9228)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C7D #2C7D1C
analogous
#3C1C7D #6D1C7D #7D1C5D
triadic
#6D1C7D #7D6D1C #1C7D6D
tetradic
#6D1C7D #7D3C1C #2C7D1C #1C5D7D
square
#6D1C7D #7D3C1C #2C7D1C #1C5D7D
split-complementary
#6D1C7D #5D7D1C #1C7D3C
monochromatic
#160619 #41114B #6D1C7D #9927AF #BC3FD4

Accessibility & contrast

On white

9.94
#6D1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6D1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C7D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C7D#FFFFFF#000000##FFFFFF
##6D1C7D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#26457B
Tritanopia (blue-blind)
#6E304B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1c7d;
/* rgb */ color: rgb(109, 28, 125);
/* oklch */ color: oklch(40.3% 0.164 320.4);
Tailwind
colors: {
  custom: {
    50: '#9a62a3',
    500: '#6d1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c7d;
$custom-light: #9a62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c7d",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 290.103,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40314,
    "c": 0.16352,
    "h": 320.4
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#6D1C7D
secondary
#56B144
accent
#E6415D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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