#6F1886#6F1886

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

Color values

HEX#6F1886
RGBrgb(111, 24, 134)
HSLhsl(287, 70%, 31%)
HSVhsv(287, 82%, 53%)
CMYKcmyk(17.2%, 82.1%, 0%, 47.5%)
CIE-LABlab(28.78, 51.98, -42.02)
CIE-LCHlch(28.78, 66.84, 321.05°)
OKLaboklab(40.94% 0.1308 -0.1183)
OKLCHoklch(40.94% 0.176 317.9)
XYZxyz(11.1846, 5.7545, 23.0712)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1886 #2F8618
analogous
#381886 #6F1886 #861866
triadic
#6F1886 #866F18 #18866F
tetradic
#6F1886 #863818 #2F8618 #186686
square
#6F1886 #863818 #2F8618 #186686
split-complementary
#6F1886 #668618 #188638
monochromatic
#19051E #440F52 #6F1886 #9A21BA #BB3CDC

Accessibility & contrast

On white

9.76
#6F1886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1886
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1886#FFFFFF#000000##FFFFFF
##6F18861.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1886;
/* rgb */ color: rgb(111, 24, 134);
/* oklch */ color: oklch(40.9% 0.176 317.9);
Tailwind
colors: {
  custom: {
    50: '#9c61aa',
    500: '#6f1886',
    950: '#000000',
  },
}
SCSS
$custom: #6f1886;
$custom-light: #9c61aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1886",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 287.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.17637,
    "h": 317.9
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#6F1886
secondary
#59BA40
accent
#EC3B60
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6F1886

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

Preview Lab → · Contrast checker → · Palette generator →

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