#6C1B8A#6C1B8A

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

Color values

HEX#6C1B8A
RGBrgb(108, 27, 138)
HSLhsl(284, 67%, 32%)
HSVhsv(284, 80%, 54%)
CMYKcmyk(21.7%, 80.4%, 0%, 45.9%)
CIE-LABlab(28.92, 51.23, -44.32)
CIE-LCHlch(28.92, 67.74, 319.14°)
OKLaboklab(41.03% 0.1237 -0.1252)
OKLCHoklch(41.03% 0.176 314.7)
XYZxyz(11.1630, 5.8074, 24.5727)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1B8A #398A1B
analogous
#351B8A #6C1B8A #8A1B70
triadic
#6C1B8A #8A6C1B #1B8A6C
tetradic
#6C1B8A #8A351B #398A1B #1B708A
square
#6C1B8A #8A351B #398A1B #1B708A
split-complementary
#6C1B8A #708A1B #1B8A35
monochromatic
#1C0724 #441157 #6C1B8A #9425BD #B245DB

Accessibility & contrast

On white

9.72
#6C1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6C1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1B8A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1B8A#FFFFFF#000000##FFFFFF
##6C1B8A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1b8a;
/* rgb */ color: rgb(108, 27, 138);
/* oklch */ color: oklch(41.0% 0.176 314.7);
Tailwind
colors: {
  custom: {
    50: '#9a62ad',
    500: '#6c1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6c1b8a;
$custom-light: #9a62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1b8a",
  "rgb": {
    "r": 108,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 283.784,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.17596,
    "h": 314.7
  },
  "luminance": 0.05807
}

Semantic roles & 50–950 ramp

primary
#6C1B8A
secondary
#65BC45
accent
#EA3E6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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