#6B1D86#6B1D86

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

Color values

HEX#6B1D86
RGBrgb(107, 29, 134)
HSLhsl(285, 64%, 32%)
HSVhsv(285, 78%, 53%)
CMYKcmyk(20.1%, 78.4%, 0%, 47.5%)
CIE-LABlab(28.71, 49.50, -42.17)
CIE-LCHlch(28.71, 65.03, 319.57°)
OKLaboklab(40.75% 0.1213 -0.1189)
OKLCHoklch(40.75% 0.17 315.6)
XYZxyz(10.8052, 5.7262, 23.0857)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1D86 #38861D
analogous
#361D86 #6B1D86 #861D6D
triadic
#6B1D86 #866B1D #1D866B
tetradic
#6B1D86 #86361D #38861D #1D6D86
square
#6B1D86 #86361D #38861D #1D6D86
split-complementary
#6B1D86 #6D861D #1D8636
monochromatic
#1B0721 #431254 #6B1D86 #9328B8 #B246D7

Accessibility & contrast

On white

9.79
#6B1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1D86
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1D86#FFFFFF#000000##FFFFFF
##6B1D861.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#693551
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1d86;
/* rgb */ color: rgb(107, 29, 134);
/* oklch */ color: oklch(40.8% 0.170 315.6);
Tailwind
colors: {
  custom: {
    50: '#9962aa',
    500: '#6b1d86',
    950: '#000000',
  },
}
SCSS
$custom: #6b1d86;
$custom-light: #9962aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1d86",
  "rgb": {
    "r": 107,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 284.571,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40753,
    "c": 0.16984,
    "h": 315.6
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#6B1D86
secondary
#63B946
accent
#E7406B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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