#6C1B7D#6C1B7D

#6C1B7D is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.164 H 319.9°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6C1B7D
RGBrgb(108, 27, 125)
HSLhsl(290, 64%, 30%)
HSVhsv(290, 78%, 49%)
CMYKcmyk(13.6%, 78.4%, 0%, 51%)
CIE-LABlab(27.99, 48.60, -37.67)
CIE-LCHlch(27.99, 61.49, 322.22°)
OKLaboklab(40.07% 0.1256 -0.1057)
OKLCHoklch(40.07% 0.164 319.9)
XYZxyz(10.2775, 5.4532, 19.9093)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B7D #2C7D1B
analogous
#3B1B7D #6C1B7D #7D1B5D
triadic
#6C1B7D #7D6C1B #1B7D6C
tetradic
#6C1B7D #7D3B1B #2C7D1B #1B5D7D
square
#6C1B7D #7D3B1B #2C7D1B #1B5D7D
split-complementary
#6C1B7D #5D7D1B #1B7D3B
monochromatic
#160519 #41104B #6C1B7D #9726AF #BB3DD5

Accessibility & contrast

On white

10.04
#6C1B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6C1B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B7D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B7D#FFFFFF#000000##FFFFFF
##6C1B7D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6C2F4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1b7d;
/* rgb */ color: rgb(108, 27, 125);
/* oklch */ color: oklch(40.1% 0.164 319.9);
Tailwind
colors: {
  custom: {
    50: '#9a61a3',
    500: '#6c1b7d',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b7d;
$custom-light: #9a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b7d",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 289.592,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.16419,
    "h": 319.9
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#6C1B7D
secondary
#56B143
accent
#E7405D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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