#6D1D83#6D1D83

#6D1D83 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.168 H 317.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6D1D83
RGBrgb(109, 29, 131)
HSLhsl(287, 64%, 31%)
HSVhsv(287, 78%, 51%)
CMYKcmyk(16.8%, 77.9%, 0%, 48.6%)
CIE-LABlab(28.82, 49.29, -40.10)
CIE-LCHlch(28.82, 63.54, 320.87°)
OKLaboklab(40.83% 0.1243 -0.1128)
OKLCHoklch(40.83% 0.168 317.8)
XYZxyz(10.8422, 5.7691, 22.0108)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1D83 #33831D
analogous
#3A1D83 #6D1D83 #831D66
triadic
#6D1D83 #836D1D #1D836D
tetradic
#6D1D83 #833A1D #33831D #1D6683
square
#6D1D83 #833A1D #33831D #1D6683
split-complementary
#6D1D83 #66831D #1D833A
monochromatic
#1A071F #431251 #6D1D83 #9728B5 #B645D6

Accessibility & contrast

On white

9.75
#6D1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1D83
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1D83#FFFFFF#000000##FFFFFF
##6D1D831.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#214681
Tritanopia (blue-blind)
#6C334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1d83;
/* rgb */ color: rgb(109, 29, 131);
/* oklch */ color: oklch(40.8% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#9a63a8',
    500: '#6d1d83',
    950: '#000000',
  },
}
SCSS
$custom: #6d1d83;
$custom-light: #9a63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1d83",
  "rgb": {
    "r": 109,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 287.059,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.16785,
    "h": 317.8
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#6D1D83
secondary
#5EB646
accent
#E74165
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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