#6C1A8A#6C1A8A

#6C1A8A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.177 H 314.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#6C1A8A
RGBrgb(108, 26, 138)
HSLhsl(284, 68%, 32%)
HSVhsv(284, 81%, 54%)
CMYKcmyk(21.7%, 81.2%, 0%, 45.9%)
CIE-LABlab(28.80, 51.57, -44.50)
CIE-LCHlch(28.80, 68.12, 319.21°)
OKLaboklab(40.95% 0.1245 -0.1257)
OKLCHoklch(40.95% 0.177 314.7)
XYZxyz(11.1404, 5.7623, 24.5652)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A8A #388A1A
analogous
#341A8A #6C1A8A #8A1A70
triadic
#6C1A8A #8A6C1A #1A8A6C
tetradic
#6C1A8A #8A341A #388A1A #1A708A
square
#6C1A8A #8A341A #388A1A #1A708A
split-complementary
#6C1A8A #708A1A #1A8A34
monochromatic
#1B0723 #441057 #6C1A8A #9424BD #B343DC

Accessibility & contrast

On white

9.76
#6C1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6C1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A8A
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A8A#FFFFFF#000000##FFFFFF
##6C1A8A1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#693552
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1a8a;
/* rgb */ color: rgb(108, 26, 138);
/* oklch */ color: oklch(40.9% 0.177 314.7);
Tailwind
colors: {
  custom: {
    50: '#9a62ad',
    500: '#6c1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a8a;
$custom-light: #9a62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a8a",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 283.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.17694,
    "h": 314.7
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#6C1A8A
secondary
#64BD43
accent
#EB3D6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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