#6D1D8B#6D1D8B

#6D1D8B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.175 H 314.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6D1D8B
RGBrgb(109, 29, 139)
HSLhsl(284, 65%, 33%)
HSVhsv(284, 79%, 55%)
CMYKcmyk(21.6%, 79.1%, 0%, 45.5%)
CIE-LABlab(29.40, 50.94, -44.16)
CIE-LCHlch(29.40, 67.41, 319.08°)
OKLaboklab(41.42% 0.1231 -0.1247)
OKLCHoklch(41.42% 0.175 314.6)
XYZxyz(11.4055, 5.9944, 24.9773)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D8B #3B8B1D
analogous
#361D8B #6D1D8B #8B1D72
triadic
#6D1D8B #8B6D1D #1D8B6D
tetradic
#6D1D8B #8B361D #3B8B1D #1D728B
square
#6D1D8B #8B361D #3B8B1D #1D728B
split-complementary
#6D1D8B #728B1D #1D8B36
monochromatic
#1E0826 #451258 #6D1D8B #9528BE #B249D9

Accessibility & contrast

On white

9.55
#6D1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1D8B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D8B#FFFFFF#000000##FFFFFF
##6D1D8B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#6A3754
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d1d8b;
/* rgb */ color: rgb(109, 29, 139);
/* oklch */ color: oklch(41.4% 0.175 314.6);
Tailwind
colors: {
  custom: {
    50: '#9b63ae',
    500: '#6d1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d8b;
$custom-light: #9b63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d8b",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 283.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.1752,
    "h": 314.6
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#6D1D8B
secondary
#68BB49
accent
#E83F6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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