#6A1686#6A1686

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

Color values

HEX#6A1686
RGBrgb(106, 22, 134)
HSLhsl(285, 72%, 31%)
HSVhsv(285, 84%, 53%)
CMYKcmyk(20.9%, 83.6%, 0%, 47.5%)
CIE-LABlab(27.74, 51.65, -43.76)
CIE-LCHlch(27.74, 67.69, 319.73°)
OKLaboklab(40.03% 0.1258 -0.1236)
OKLCHoklch(40.03% 0.176 315.5)
XYZxyz(10.5331, 5.3596, 23.0293)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1686 #328616
analogous
#321686 #6A1686 #86166A
triadic
#6A1686 #866A16 #16866A
tetradic
#6A1686 #863216 #328616 #166A86
square
#6A1686 #863216 #328616 #166A86
split-complementary
#6A1686 #6A8616 #168632
monochromatic
#17051D #400D51 #6A1686 #941FBB #B538DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A1686#FFFFFF#000000##FFFFFF
##6A16861.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)
#003D89
Deuteranopia (green-blind)
#114484
Tritanopia (blue-blind)
#68324F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1686;
/* rgb */ color: rgb(106, 22, 134);
/* oklch */ color: oklch(40.0% 0.176 315.5);
Tailwind
colors: {
  custom: {
    50: '#9960aa',
    500: '#6a1686',
    950: '#000000',
  },
}
SCSS
$custom: #6a1686;
$custom-light: #9960aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1686",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 285,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.17636,
    "h": 315.5
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#6A1686
secondary
#5DBA3E
accent
#EF3967
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A1686

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

Preview Lab → · Contrast checker → · Palette generator →

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