#6D1C7C#6D1C7C

#6D1C7C is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.163 H 320.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6D1C7C
RGBrgb(109, 28, 124)
HSLhsl(291, 63%, 30%)
HSVhsv(291, 77%, 49%)
CMYKcmyk(12.1%, 77.4%, 0%, 51.4%)
CIE-LABlab(28.21, 48.26, -36.67)
CIE-LCHlch(28.21, 60.61, 322.77°)
OKLaboklab(40.24% 0.1261 -0.1027)
OKLCHoklch(40.24% 0.163 320.8)
XYZxyz(10.3596, 5.5375, 19.5880)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C7C #2B7C1C
analogous
#3D1C7C #6D1C7C #7C1C5B
triadic
#6D1C7C #7C6D1C #1C7C6D
tetradic
#6D1C7C #7C3D1C #2B7C1C #1C5B7C
square
#6D1C7C #7C3D1C #2B7C1C #1C5B7C
split-complementary
#6D1C7C #5B7C1C #1C7C3D
monochromatic
#160619 #41114A #6D1C7C #9927AE #BC3FD4

Accessibility & contrast

On white

9.96
#6D1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1C7C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C7C#FFFFFF#000000##FFFFFF
##6D1C7C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#27457A
Tritanopia (blue-blind)
#6E2F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1c7c;
/* rgb */ color: rgb(109, 28, 124);
/* oklch */ color: oklch(40.2% 0.163 320.8);
Tailwind
colors: {
  custom: {
    50: '#9a62a2',
    500: '#6d1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c7c;
$custom-light: #9a62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c7c",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 290.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.16262,
    "h": 320.8
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#6D1C7C
secondary
#55B044
accent
#E6425B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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