#6F1B87#6F1B87

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

Color values

HEX#6F1B87
RGBrgb(111, 27, 135)
HSLhsl(287, 67%, 32%)
HSVhsv(287, 80%, 53%)
CMYKcmyk(17.8%, 80%, 0%, 47.1%)
CIE-LABlab(29.19, 51.21, -41.99)
CIE-LCHlch(29.19, 66.22, 320.65°)
OKLaboklab(41.25% 0.1281 -0.1182)
OKLCHoklch(41.25% 0.174 317.3)
XYZxyz(11.3200, 5.9131, 23.4620)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B87 #33871B
analogous
#391B87 #6F1B87 #871B69
triadic
#6F1B87 #876F1B #1B876F
tetradic
#6F1B87 #87391B #33871B #1B6987
square
#6F1B87 #87391B #33871B #1B6987
split-complementary
#6F1B87 #69871B #1B8739
monochromatic
#1B0721 #451154 #6F1B87 #9925BA #B843D9

Accessibility & contrast

On white

9.62
#6F1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1B87
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B87#FFFFFF#000000##FFFFFF
##6F1B871.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#6E3351
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1b87;
/* rgb */ color: rgb(111, 27, 135);
/* oklch */ color: oklch(41.2% 0.174 317.3);
Tailwind
colors: {
  custom: {
    50: '#9c62ab',
    500: '#6f1b87',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b87;
$custom-light: #9c62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b87",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 286.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.17434,
    "h": 317.3
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#6F1B87
secondary
#5EBA44
accent
#EA3E64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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