#6D1D8F#6D1D8F

#6D1D8F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.179 H 313.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6D1D8F
RGBrgb(109, 29, 143)
HSLhsl(282, 66%, 34%)
HSVhsv(282, 80%, 56%)
CMYKcmyk(23.8%, 79.7%, 0%, 43.9%)
CIE-LABlab(29.70, 51.78, -46.15)
CIE-LCHlch(29.70, 69.36, 318.29°)
OKLaboklab(41.72% 0.1223 -0.1306)
OKLCHoklch(41.72% 0.179 313.1)
XYZxyz(11.7031, 6.1135, 26.5448)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D8F #3F8F1D
analogous
#341D8F #6D1D8F #8F1D78
triadic
#6D1D8F #8F6D1D #1D8F6D
tetradic
#6D1D8F #8F341D #3F8F1D #1D788F
square
#6D1D8F #8F341D #3F8F1D #1D788F
split-complementary
#6D1D8F #788F1D #1D8F34
monochromatic
#1F0829 #46135C #6D1D8F #9427C2 #B04CDB

Accessibility & contrast

On white

9.45
#6D1D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6D1D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D8F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D8F#FFFFFF#000000##FFFFFF
##6D1D8F1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#693856
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1d8f;
/* rgb */ color: rgb(109, 29, 143);
/* oklch */ color: oklch(41.7% 0.179 313.1);
Tailwind
colors: {
  custom: {
    50: '#9b63b0',
    500: '#6d1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d8f;
$custom-light: #9b63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d8f",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 282.105,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41723,
    "c": 0.17891,
    "h": 313.1
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#6D1D8F
secondary
#6DBD4B
accent
#E93F71
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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