#6D1986#6D1986

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

Color values

HEX#6D1986
RGBrgb(109, 25, 134)
HSLhsl(286, 69%, 31%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(18.7%, 81.3%, 0%, 47.5%)
CIE-LABlab(28.56, 51.28, -42.40)
CIE-LCHlch(28.56, 66.53, 320.41°)
OKLaboklab(40.71% 0.1274 -0.1195)
OKLCHoklch(40.71% 0.175 316.8)
XYZxyz(10.9567, 5.6682, 23.0666)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1986 #328619
analogous
#371986 #6D1986 #861968
triadic
#6D1986 #866D19 #19866D
tetradic
#6D1986 #863719 #328619 #196886
square
#6D1986 #863719 #328619 #196886
split-complementary
#6D1986 #688619 #198637
monochromatic
#19061F #430F52 #6D1986 #9723BA #B73EDB

Accessibility & contrast

On white

9.84
#6D1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1986
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1986#FFFFFF#000000##FFFFFF
##6D19861.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#1A4684
Tritanopia (blue-blind)
#6C3250
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1986;
/* rgb */ color: rgb(109, 25, 134);
/* oklch */ color: oklch(40.7% 0.175 316.8);
Tailwind
colors: {
  custom: {
    50: '#9b61aa',
    500: '#6d1986',
    950: '#000000',
  },
}
SCSS
$custom: #6d1986;
$custom-light: #9b61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1986",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 286.239,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40712,
    "c": 0.17467,
    "h": 316.8
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#6D1986
secondary
#5DBA41
accent
#EB3C65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D1986

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

Preview Lab → · Contrast checker → · Palette generator →

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