#6F2886#6F2886

#6F2886 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 316.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6F2886
RGBrgb(111, 40, 134)
HSLhsl(285, 54%, 34%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(17.2%, 70.1%, 0%, 47.5%)
CIE-LABlab(30.92, 45.88, -38.58)
CIE-LCHlch(30.92, 59.95, 319.94°)
OKLaboklab(42.46% 0.115 -0.1083)
OKLCHoklch(42.46% 0.158 316.7)
XYZxyz(11.6168, 6.6188, 23.2153)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2886 #3F8628
analogous
#402886 #6F2886 #86286E
triadic
#6F2886 #866F28 #28866F
tetradic
#6F2886 #864028 #3F8628 #286E86
square
#6F2886 #864028 #3F8628 #286E86
split-complementary
#6F2886 #6E8628 #288640
monochromatic
#210C28 #481A57 #6F2886 #9636B5 #B25BCE

Accessibility & contrast

On white

9.04
#6F2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6F2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2886
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2886#FFFFFF#000000##FFFFFF
##6F28861.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#6E3A54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2886;
/* rgb */ color: rgb(111, 40, 134);
/* oklch */ color: oklch(42.5% 0.158 316.7);
Tailwind
colors: {
  custom: {
    50: '#9b68aa',
    500: '#6f2886',
    950: '#000000',
  },
}
SCSS
$custom: #6f2886;
$custom-light: #9b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2886",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 285.319,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.15803,
    "h": 316.7
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#6F2886
secondary
#6DB357
accent
#DD4A6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6F2886

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

Preview Lab → · Contrast checker → · Palette generator →

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