#6C1D7D#6C1D7D

#6C1D7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.162 H 319.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6C1D7D
RGBrgb(108, 29, 125)
HSLhsl(289, 62%, 30%)
HSVhsv(289, 77%, 49%)
CMYKcmyk(13.6%, 76.8%, 0%, 51%)
CIE-LABlab(28.24, 47.87, -37.27)
CIE-LCHlch(28.24, 60.67, 322.10°)
OKLaboklab(40.25% 0.1237 -0.1045)
OKLCHoklch(40.25% 0.162 319.8)
XYZxyz(10.3249, 5.5481, 19.9251)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1D7D #2E7D1D
analogous
#3C1D7D #6C1D7D #7D1D5E
triadic
#6C1D7D #7D6C1D #1D7D6C
tetradic
#6C1D7D #7D3C1D #2E7D1D #1D5E7D
square
#6C1D7D #7D3C1D #2E7D1D #1D5E7D
split-complementary
#6C1D7D #5E7D1D #1D7D3C
monochromatic
#16061A #41114B #6C1D7D #9729AF #B941D3

Accessibility & contrast

On white

9.95
#6C1D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6C1D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1D7D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1D7D#FFFFFF#000000##FFFFFF
##6C1D7D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#6C304C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1d7d;
/* rgb */ color: rgb(108, 29, 125);
/* oklch */ color: oklch(40.3% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#9962a3',
    500: '#6c1d7d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1d7d;
$custom-light: #9962a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1d7d",
  "rgb": {
    "r": 108,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 289.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.16196,
    "h": 319.8
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#6C1D7D
secondary
#58B145
accent
#E5425F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C1D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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