#6D1A86#6D1A86

#6D1A86 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.174 H 316.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6D1A86
RGBrgb(109, 26, 134)
HSLhsl(286, 68%, 31%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(18.7%, 80.6%, 0%, 47.5%)
CIE-LABlab(28.67, 50.95, -42.22)
CIE-LCHlch(28.67, 66.16, 320.35°)
OKLaboklab(40.79% 0.1266 -0.119)
OKLCHoklch(40.79% 0.174 316.8)
XYZxyz(10.9785, 5.7117, 23.0738)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A86 #33861A
analogous
#371A86 #6D1A86 #861A69
triadic
#6D1A86 #866D1A #1A866D
tetradic
#6D1A86 #86371A #33861A #1A6986
square
#6D1A86 #86371A #33861A #1A6986
split-complementary
#6D1A86 #69861A #1A8637
monochromatic
#1A061F #431053 #6D1A86 #9724B9 #B640DA

Accessibility & contrast

On white

9.80
#6D1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A86
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A86#FFFFFF#000000##FFFFFF
##6D1A861.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1B4684
Tritanopia (blue-blind)
#6C3350
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1a86;
/* rgb */ color: rgb(109, 26, 134);
/* oklch */ color: oklch(40.8% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#9b61aa',
    500: '#6d1a86',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a86;
$custom-light: #9b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a86",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 286.111,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.17369,
    "h": 316.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#6D1A86
secondary
#5EB942
accent
#EA3D65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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