#6F1B86#6F1B86

#6F1B86 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.173 H 317.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6F1B86
RGBrgb(111, 27, 134)
HSLhsl(287, 66%, 32%)
HSVhsv(287, 80%, 53%)
CMYKcmyk(17.2%, 79.9%, 0%, 47.5%)
CIE-LABlab(29.12, 51.01, -41.48)
CIE-LCHlch(29.12, 65.74, 320.88°)
OKLaboklab(41.17% 0.1283 -0.1167)
OKLCHoklch(41.17% 0.173 317.7)
XYZxyz(11.2499, 5.8851, 23.0930)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B86 #32861B
analogous
#3A1B86 #6F1B86 #861B68
triadic
#6F1B86 #866F1B #1B866F
tetradic
#6F1B86 #863A1B #32861B #1B6886
square
#6F1B86 #863A1B #32861B #1B6886
split-complementary
#6F1B86 #68861B #1B863A
monochromatic
#1B0620 #451153 #6F1B86 #9925B9 #B942D9

Accessibility & contrast

On white

9.65
#6F1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B86
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B86#FFFFFF#000000##FFFFFF
##6F1B861.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#6E3350
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1b86;
/* rgb */ color: rgb(111, 27, 134);
/* oklch */ color: oklch(41.2% 0.173 317.7);
Tailwind
colors: {
  custom: {
    50: '#9c62aa',
    500: '#6f1b86',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b86;
$custom-light: #9c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b86",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 287.103,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.17345,
    "h": 317.7
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#6F1B86
secondary
#5DB944
accent
#E93E63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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