#6C1D8D#6C1D8D

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

Color values

HEX#6C1D8D
RGBrgb(108, 29, 141)
HSLhsl(282, 66%, 33%)
HSVhsv(282, 79%, 55%)
CMYKcmyk(23.4%, 79.4%, 0%, 44.7%)
CIE-LABlab(29.39, 51.16, -45.42)
CIE-LCHlch(29.39, 68.42, 318.40°)
OKLaboklab(41.43% 0.1214 -0.1284)
OKLCHoklch(41.43% 0.177 313.4)
XYZxyz(11.4306, 5.9903, 25.7483)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D8D #3E8D1D
analogous
#341D8D #6C1D8D #8D1D76
triadic
#6C1D8D #8D6C1D #1D8D6C
tetradic
#6C1D8D #8D341D #3E8D1D #1D768D
square
#6C1D8D #8D341D #3E8D1D #1D768D
split-complementary
#6C1D8D #768D1D #1D8D34
monochromatic
#1E0827 #45135A #6C1D8D #9327C0 #B04BDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C1D8D#FFFFFF#000000##FFFFFF
##6C1D8D1.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)
#004190
Deuteranopia (green-blind)
#0F478B
Tritanopia (blue-blind)
#683855
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c1d8d;
/* rgb */ color: rgb(108, 29, 141);
/* oklch */ color: oklch(41.4% 0.177 313.4);
Tailwind
colors: {
  custom: {
    50: '#9a63af',
    500: '#6c1d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d8d;
$custom-light: #9a63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d8d",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 282.321,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.17671,
    "h": 313.4
  },
  "luminance": 0.0599
}

Semantic roles & 50–950 ramp

primary
#6C1D8D
secondary
#6BBC4A
accent
#E93F71
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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