#6C1A86#6C1A86

#6C1A86 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.173 H 316.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#6C1A86
RGBrgb(108, 26, 134)
HSLhsl(286, 68%, 31%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(19.4%, 80.6%, 0%, 47.5%)
CIE-LABlab(28.51, 50.75, -42.49)
CIE-LCHlch(28.51, 66.19, 320.06°)
OKLaboklab(40.64% 0.1252 -0.1198)
OKLCHoklch(40.64% 0.173 316.3)
XYZxyz(10.8561, 5.6486, 23.0681)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1A86 #34861A
analogous
#361A86 #6C1A86 #861A6A
triadic
#6C1A86 #866C1A #1A866C
tetradic
#6C1A86 #86361A #34861A #1A6A86
square
#6C1A86 #86361A #34861A #1A6A86
split-complementary
#6C1A86 #6A861A #1A8636
monochromatic
#19061F #431053 #6C1A86 #9524B9 #B540DA

Accessibility & contrast

On white

9.86
#6C1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6C1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1A86
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1A86#FFFFFF#000000##FFFFFF
##6C1A861.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#194584
Tritanopia (blue-blind)
#6A3350
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1a86;
/* rgb */ color: rgb(108, 26, 134);
/* oklch */ color: oklch(40.6% 0.173 316.3);
Tailwind
colors: {
  custom: {
    50: '#9a61aa',
    500: '#6c1a86',
    950: '#000000',
  },
}
SCSS
$custom: #6c1a86;
$custom-light: #9a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1a86",
  "rgb": {
    "r": 108,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 285.556,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40643,
    "c": 0.17333,
    "h": 316.3
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#6C1A86
secondary
#5FB942
accent
#EA3D67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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