#6C1986#6C1986

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

Color values

HEX#6C1986
RGBrgb(108, 25, 134)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(19.4%, 81.3%, 0%, 47.5%)
CIE-LABlab(28.39, 51.08, -42.68)
CIE-LCHlch(28.39, 66.56, 320.12°)
OKLaboklab(40.56% 0.1261 -0.1203)
OKLCHoklch(40.56% 0.174 316.3)
XYZxyz(10.8344, 5.6051, 23.0608)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1986 #338619
analogous
#351986 #6C1986 #861969
triadic
#6C1986 #866C19 #19866C
tetradic
#6C1986 #863519 #338619 #196986
square
#6C1986 #863519 #338619 #196986
split-complementary
#6C1986 #698619 #198635
monochromatic
#19061F #420F52 #6C1986 #9623BA #B63EDB

Accessibility & contrast

On white

9.90
#6C1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6C1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1986
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1986#FFFFFF#000000##FFFFFF
##6C19861.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#6A3250
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c1986;
/* rgb */ color: rgb(108, 25, 134);
/* oklch */ color: oklch(40.6% 0.174 316.3);
Tailwind
colors: {
  custom: {
    50: '#9a61aa',
    500: '#6c1986',
    950: '#000000',
  },
}
SCSS
$custom: #6c1986;
$custom-light: #9a61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1986",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 285.688,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.1743,
    "h": 316.3
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#6C1986
secondary
#5EBA41
accent
#EB3C66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1986

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

Preview Lab → · Contrast checker → · Palette generator →

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