#6F1986#6F1986

#6F1986 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.175 H 317.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6F1986
RGBrgb(111, 25, 134)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 81%, 53%)
CMYKcmyk(17.2%, 81.3%, 0%, 47.5%)
CIE-LABlab(28.89, 51.67, -41.84)
CIE-LCHlch(28.89, 66.49, 321.00°)
OKLaboklab(41.01% 0.13 -0.1178)
OKLCHoklch(41.01% 0.175 317.8)
XYZxyz(11.2056, 5.7965, 23.0782)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1986 #308619
analogous
#381986 #6F1986 #861966
triadic
#6F1986 #866F19 #19866F
tetradic
#6F1986 #863819 #308619 #196686
square
#6F1986 #863819 #308619 #196686
split-complementary
#6F1986 #668619 #198638
monochromatic
#1A061F #440F52 #6F1986 #9A23BA #BA3EDB

Accessibility & contrast

On white

9.73
#6F1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1986
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1986#FFFFFF#000000##FFFFFF
##6F19861.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#6E3250
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1986;
/* rgb */ color: rgb(111, 25, 134);
/* oklch */ color: oklch(41.0% 0.175 317.8);
Tailwind
colors: {
  custom: {
    50: '#9c61aa',
    500: '#6f1986',
    950: '#000000',
  },
}
SCSS
$custom: #6f1986;
$custom-light: #9c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1986",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 287.339,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.17542,
    "h": 317.8
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#6F1986
secondary
#5BBA41
accent
#EB3C61
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1986

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

Preview Lab → · Contrast checker → · Palette generator →

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