#6D1C83#6D1C83

#6D1C83 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.169 H 317.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6D1C83
RGBrgb(109, 28, 131)
HSLhsl(287, 65%, 31%)
HSVhsv(287, 79%, 51%)
CMYKcmyk(16.8%, 78.6%, 0%, 48.6%)
CIE-LABlab(28.70, 49.65, -40.30)
CIE-LCHlch(28.70, 63.95, 320.94°)
OKLaboklab(40.74% 0.1252 -0.1134)
OKLCHoklch(40.74% 0.169 317.8)
XYZxyz(10.8181, 5.7209, 22.0027)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C83 #32831C
analogous
#391C83 #6D1C83 #831C65
triadic
#6D1C83 #836D1C #1C836D
tetradic
#6D1C83 #83391C #32831C #1C6583
square
#6D1C83 #83391C #32831C #1C6583
split-complementary
#6D1C83 #65831C #1C8339
monochromatic
#19061E #431151 #6D1C83 #9727B5 #B743D7

Accessibility & contrast

On white

9.79
#6D1C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C83
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C83#FFFFFF#000000##FFFFFF
##6D1C831.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1c83;
/* rgb */ color: rgb(109, 28, 131);
/* oklch */ color: oklch(40.7% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#9a62a8',
    500: '#6d1c83',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c83;
$custom-light: #9a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c83",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 287.184,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4074,
    "c": 0.16893,
    "h": 317.8
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#6D1C83
secondary
#5DB645
accent
#E84064
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C83

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

Preview Lab → · Contrast checker → · Palette generator →

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