#6D1B87#6D1B87

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

Color values

HEX#6D1B87
RGBrgb(109, 27, 135)
HSLhsl(286, 67%, 32%)
HSVhsv(286, 80%, 53%)
CMYKcmyk(19.3%, 80%, 0%, 47.1%)
CIE-LABlab(28.86, 50.81, -42.53)
CIE-LCHlch(28.86, 66.26, 320.07°)
OKLaboklab(40.95% 0.1255 -0.1199)
OKLCHoklch(40.95% 0.174 316.3)
XYZxyz(11.0711, 5.7848, 23.4504)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B87 #35871B
analogous
#371B87 #6D1B87 #871B6B
triadic
#6D1B87 #876D1B #1B876D
tetradic
#6D1B87 #87371B #35871B #1B6B87
square
#6D1B87 #87371B #35871B #1B6B87
split-complementary
#6D1B87 #6B871B #1B8737
monochromatic
#1B0721 #441154 #6D1B87 #9625BA #B543D9

Accessibility & contrast

On white

9.74
#6D1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6D1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B87
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B87#FFFFFF#000000##FFFFFF
##6D1B871.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#1A4685
Tritanopia (blue-blind)
#6B3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1b87;
/* rgb */ color: rgb(109, 27, 135);
/* oklch */ color: oklch(40.9% 0.174 316.3);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6d1b87',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b87;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b87",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 285.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40948,
    "c": 0.17359,
    "h": 316.3
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#6D1B87
secondary
#60BA44
accent
#EA3E67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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