#6C1D83#6C1D83

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

Color values

HEX#6C1D83
RGBrgb(108, 29, 131)
HSLhsl(286, 64%, 31%)
HSVhsv(286, 78%, 51%)
CMYKcmyk(17.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(28.66, 49.08, -40.37)
CIE-LCHlch(28.66, 63.55, 320.56°)
OKLaboklab(40.68% 0.123 -0.1136)
OKLCHoklch(40.68% 0.167 317.3)
XYZxyz(10.7198, 5.7060, 22.0050)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D83 #34831D
analogous
#391D83 #6C1D83 #831D67
triadic
#6C1D83 #836C1D #1D836C
tetradic
#6C1D83 #83391D #34831D #1D6783
square
#6C1D83 #83391D #34831D #1D6783
split-complementary
#6C1D83 #67831D #1D8339
monochromatic
#19071F #431251 #6C1D83 #9528B5 #B545D6

Accessibility & contrast

On white

9.81
#6C1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1D83
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D83#FFFFFF#000000##FFFFFF
##6C1D831.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#1F4681
Tritanopia (blue-blind)
#6B334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1d83;
/* rgb */ color: rgb(108, 29, 131);
/* oklch */ color: oklch(40.7% 0.167 317.3);
Tailwind
colors: {
  custom: {
    50: '#9a62a8',
    500: '#6c1d83',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d83;
$custom-light: #9a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d83",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 286.471,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.16745,
    "h": 317.3
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#6C1D83
secondary
#5FB646
accent
#E74166
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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