#6F2686#6F2686

#6F2686 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.161 H 316.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6F2686
RGBrgb(111, 38, 134)
HSLhsl(286, 56%, 34%)
HSVhsv(286, 72%, 53%)
CMYKcmyk(17.2%, 71.6%, 0%, 47.5%)
CIE-LABlab(30.61, 46.76, -39.08)
CIE-LCHlch(30.61, 60.94, 320.11°)
OKLaboklab(42.23% 0.1173 -0.1098)
OKLCHoklch(42.23% 0.161 316.9)
XYZxyz(11.5511, 6.4874, 23.1934)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2686 #3D8626
analogous
#3F2686 #6F2686 #86266D
triadic
#6F2686 #866F26 #26866F
tetradic
#6F2686 #863F26 #3D8626 #266D86
square
#6F2686 #863F26 #3D8626 #266D86
split-complementary
#6F2686 #6D8626 #26863F
monochromatic
#200B27 #481856 #6F2686 #9634B6 #B357CF

Accessibility & contrast

On white

9.14
#6F2686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F2686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2686
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2686#FFFFFF#000000##FFFFFF
##6F26861.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#6E3953
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f2686;
/* rgb */ color: rgb(111, 38, 134);
/* oklch */ color: oklch(42.2% 0.161 316.9);
Tailwind
colors: {
  custom: {
    50: '#9c67aa',
    500: '#6f2686',
    950: '#000000',
  },
}
SCSS
$custom: #6f2686;
$custom-light: #9c67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2686",
  "rgb": {
    "r": 111,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 285.625,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.16068,
    "h": 316.9
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#6F2686
secondary
#6BB454
accent
#DF496D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6F2686

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

Preview Lab → · Contrast checker → · Palette generator →

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