#6D1D7C#6D1D7C

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

Color values

HEX#6D1D7C
RGBrgb(109, 29, 124)
HSLhsl(291, 62%, 30%)
HSVhsv(291, 77%, 49%)
CMYKcmyk(12.1%, 76.6%, 0%, 51.4%)
CIE-LABlab(28.34, 47.89, -36.47)
CIE-LCHlch(28.34, 60.20, 322.71°)
OKLaboklab(40.34% 0.1251 -0.1021)
OKLCHoklch(40.34% 0.161 320.8)
XYZxyz(10.3837, 5.5857, 19.5961)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D7C #2C7C1D
analogous
#3D1D7C #6D1D7C #7C1D5C
triadic
#6D1D7C #7C6D1D #1D7C6D
tetradic
#6D1D7C #7C3D1D #2C7C1D #1D5C7C
square
#6D1D7C #7C3D1D #2C7C1D #1D5C7C
split-complementary
#6D1D7C #5C7C1D #1D7C3D
monochromatic
#160619 #41114A #6D1D7C #9929AE #BC41D3

Accessibility & contrast

On white

9.92
#6D1D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D1D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D7C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D7C#FFFFFF#000000##FFFFFF
##6D1D7C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1d7c;
/* rgb */ color: rgb(109, 29, 124);
/* oklch */ color: oklch(40.3% 0.161 320.8);
Tailwind
colors: {
  custom: {
    50: '#9a62a2',
    500: '#6d1d7c',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d7c;
$custom-light: #9a62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d7c",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 290.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.16149,
    "h": 320.8
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#6D1D7C
secondary
#56B045
accent
#E5435C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D1D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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