#6F1786#6F1786

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

Color values

HEX#6F1786
RGBrgb(111, 23, 134)
HSLhsl(288, 71%, 31%)
HSVhsv(288, 83%, 53%)
CMYKcmyk(17.2%, 82.8%, 0%, 47.5%)
CIE-LABlab(28.68, 52.29, -42.19)
CIE-LCHlch(28.68, 67.18, 321.10°)
OKLaboklab(40.86% 0.1316 -0.1188)
OKLCHoklch(40.86% 0.177 317.9)
XYZxyz(11.1644, 5.7141, 23.0645)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1786 #2E8617
analogous
#381786 #6F1786 #861765
triadic
#6F1786 #866F17 #17866F
tetradic
#6F1786 #863817 #2E8617 #176586
square
#6F1786 #863817 #2E8617 #176586
split-complementary
#6F1786 #658617 #178638
monochromatic
#18051E #440E52 #6F1786 #9A20BA #BB3ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1786#FFFFFF#000000##FFFFFF
##6F17861.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)
#003E89
Deuteranopia (green-blind)
#1C4684
Tritanopia (blue-blind)
#6E314F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1786;
/* rgb */ color: rgb(111, 23, 134);
/* oklch */ color: oklch(40.9% 0.177 317.9);
Tailwind
colors: {
  custom: {
    50: '#9c61aa',
    500: '#6f1786',
    950: '#000000',
  },
}
SCSS
$custom: #6f1786;
$custom-light: #9c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1786",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 287.568,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.17728,
    "h": 317.9
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#6F1786
secondary
#58BA3F
accent
#ED3A5F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F1786

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

Preview Lab → · Contrast checker → · Palette generator →

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