#6D1B86#6D1B86

#6D1B86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.173 H 316.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#6D1B86
RGBrgb(109, 27, 134)
HSLhsl(286, 66%, 32%)
HSVhsv(286, 80%, 53%)
CMYKcmyk(18.7%, 79.9%, 0%, 47.5%)
CIE-LABlab(28.79, 50.61, -42.03)
CIE-LCHlch(28.79, 65.78, 320.29°)
OKLaboklab(40.87% 0.1257 -0.1184)
OKLCHoklch(40.87% 0.173 316.7)
XYZxyz(11.0010, 5.7568, 23.0813)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B86 #34861B
analogous
#371B86 #6D1B86 #861B6A
triadic
#6D1B86 #866D1B #1B866D
tetradic
#6D1B86 #86371B #34861B #1B6A86
square
#6D1B86 #86371B #34861B #1B6A86
split-complementary
#6D1B86 #6A861B #1B8637
monochromatic
#1A0620 #441153 #6D1B86 #9625B9 #B642D9

Accessibility & contrast

On white

9.76
#6D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B86
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B86#FFFFFF#000000##FFFFFF
##6D1B861.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.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: #6d1b86;
/* rgb */ color: rgb(109, 27, 134);
/* oklch */ color: oklch(40.9% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#9b62aa',
    500: '#6d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b86;
$custom-light: #9b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b86",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 285.981,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40874,
    "c": 0.17269,
    "h": 316.7
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#6D1B86
secondary
#5FB944
accent
#E93E66
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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