#6F1987#6F1987

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

Color values

HEX#6F1987
RGBrgb(111, 25, 135)
HSLhsl(287, 69%, 31%)
HSVhsv(287, 81%, 53%)
CMYKcmyk(17.8%, 81.5%, 0%, 47.1%)
CIE-LABlab(28.97, 51.87, -42.35)
CIE-LCHlch(28.97, 66.96, 320.77°)
OKLaboklab(41.09% 0.1298 -0.1193)
OKLCHoklch(41.09% 0.176 317.4)
XYZxyz(11.2757, 5.8245, 23.4473)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1987 #318719
analogous
#381987 #6F1987 #871968
triadic
#6F1987 #876F19 #19876F
tetradic
#6F1987 #873819 #318719 #196887
square
#6F1987 #873819 #318719 #196887
split-complementary
#6F1987 #688719 #198738
monochromatic
#1A0620 #450F53 #6F1987 #9923BB #B93FDB

Accessibility & contrast

On white

9.70
#6F1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F1987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1987
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1987#FFFFFF#000000##FFFFFF
##6F19871.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#1C4785
Tritanopia (blue-blind)
#6E3250
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1987;
/* rgb */ color: rgb(111, 25, 135);
/* oklch */ color: oklch(41.1% 0.176 317.4);
Tailwind
colors: {
  custom: {
    50: '#9c61ab',
    500: '#6f1987',
    950: '#000000',
  },
}
SCSS
$custom: #6f1987;
$custom-light: #9c61ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1987",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 286.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.1763,
    "h": 317.4
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#6F1987
secondary
#5CBA41
accent
#EC3C62
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1987

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

Preview Lab → · Contrast checker → · Palette generator →

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