#6C1B7B#6C1B7B

#6C1B7B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.162 H 320.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#6C1B7B
RGBrgb(108, 27, 123)
HSLhsl(291, 64%, 29%)
HSVhsv(291, 78%, 48%)
CMYKcmyk(12.2%, 78%, 0%, 51.8%)
CIE-LABlab(27.85, 48.21, -36.63)
CIE-LCHlch(27.85, 60.54, 322.77°)
OKLaboklab(39.93% 0.1259 -0.1026)
OKLCHoklch(39.93% 0.162 320.8)
XYZxyz(10.1510, 5.4026, 19.2432)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B7B #2A7B1B
analogous
#3C1B7B #6C1B7B #7B1B5A
triadic
#6C1B7B #7B6C1B #1B7B6C
tetradic
#6C1B7B #7B3C1B #2A7B1B #1B5A7B
square
#6C1B7B #7B3C1B #2A7B1B #1B5A7B
split-complementary
#6C1B7B #5A7B1B #1B7B3C
monochromatic
#160619 #401049 #6C1B7B #9826AD #BC3CD4

Accessibility & contrast

On white

10.09
#6C1B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6C1B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B7B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B7B#FFFFFF#000000##FFFFFF
##6C1B7B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#264579
Tritanopia (blue-blind)
#6D2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c1b7b;
/* rgb */ color: rgb(108, 27, 123);
/* oklch */ color: oklch(39.9% 0.162 320.8);
Tailwind
colors: {
  custom: {
    50: '#9961a2',
    500: '#6c1b7b',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b7b;
$custom-light: #9961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b7b",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 290.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39932,
    "c": 0.16241,
    "h": 320.8
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#6C1B7B
secondary
#54AF43
accent
#E7415B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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