#6F2987#6F2987

#6F2987 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.158 H 316.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6F2987
RGBrgb(111, 41, 135)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(17.8%, 69.6%, 0%, 47.1%)
CIE-LABlab(31.15, 45.64, -38.84)
CIE-LCHlch(31.15, 59.93, 319.61°)
OKLaboklab(42.64% 0.1138 -0.1091)
OKLCHoklch(42.64% 0.158 316.2)
XYZxyz(11.7210, 6.7151, 23.5957)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2987 #418729
analogous
#402987 #6F2987 #872970
triadic
#6F2987 #876F29 #29876F
tetradic
#6F2987 #874029 #418729 #297087
square
#6F2987 #874029 #418729 #297087
split-complementary
#6F2987 #708729 #298740
monochromatic
#220C29 #481B58 #6F2987 #9637B6 #B15DCE

Accessibility & contrast

On white

8.96
#6F2987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6F2987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2987
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2987#FFFFFF#000000##FFFFFF
##6F29871.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#6E3B54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f2987;
/* rgb */ color: rgb(111, 41, 135);
/* oklch */ color: oklch(42.6% 0.158 316.2);
Tailwind
colors: {
  custom: {
    50: '#9b69aa',
    500: '#6f2987',
    950: '#000000',
  },
}
SCSS
$custom: #6f2987;
$custom-light: #9b69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2987",
  "rgb": {
    "r": 111,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 284.681,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.15766,
    "h": 316.2
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#6F2987
secondary
#70B359
accent
#DD4B70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2987

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

Preview Lab → · Contrast checker → · Palette generator →

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