#6C1A7B#6C1A7B

#6C1A7B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.163 H 320.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6C1A7B
RGBrgb(108, 26, 123)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 48%)
CMYKcmyk(12.2%, 78.9%, 0%, 51.8%)
CIE-LABlab(27.73, 48.56, -36.83)
CIE-LCHlch(27.73, 60.94, 322.82°)
OKLaboklab(39.85% 0.1268 -0.1032)
OKLCHoklch(39.85% 0.163 320.9)
XYZxyz(10.1285, 5.3575, 19.2357)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A7B #297B1A
analogous
#3C1A7B #6C1A7B #7B1A5A
triadic
#6C1A7B #7B6C1A #1A7B6C
tetradic
#6C1A7B #7B3C1A #297B1A #1A5A7B
square
#6C1A7B #7B3C1A #297B1A #1A5A7B
split-complementary
#6C1A7B #5A7B1A #1A7B3C
monochromatic
#160519 #400F48 #6C1A7B #9825AE #BD3AD5

Accessibility & contrast

On white

10.14
#6C1A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6C1A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A7B
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A7B#FFFFFF#000000##FFFFFF
##6C1A7B1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1a7b;
/* rgb */ color: rgb(108, 26, 123);
/* oklch */ color: oklch(39.8% 0.163 320.9);
Tailwind
colors: {
  custom: {
    50: '#9a61a2',
    500: '#6c1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a7b;
$custom-light: #9a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a7b",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 290.722,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.16349,
    "h": 320.9
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#6C1A7B
secondary
#53AF42
accent
#E8405A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6C1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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