#6F2887#6F2887

#6F2887 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.159 H 316.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2887
RGBrgb(111, 40, 135)
HSLhsl(285, 54%, 34%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(17.8%, 70.4%, 0%, 47.1%)
CIE-LABlab(30.99, 46.09, -39.10)
CIE-LCHlch(30.99, 60.44, 319.70°)
OKLaboklab(42.52% 0.115 -0.1099)
OKLCHoklch(42.52% 0.159 316.3)
XYZxyz(11.6868, 6.6468, 23.5843)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2887 #408728
analogous
#402887 #6F2887 #872870
triadic
#6F2887 #876F28 #28876F
tetradic
#6F2887 #874028 #408728 #287087
square
#6F2887 #874028 #408728 #287087
split-complementary
#6F2887 #708728 #288740
monochromatic
#210C29 #481A58 #6F2887 #9636B6 #B15BCE

Accessibility & contrast

On white

9.02
#6F2887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F2887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2887
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2887#FFFFFF#000000##FFFFFF
##6F28871.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2887;
/* rgb */ color: rgb(111, 40, 135);
/* oklch */ color: oklch(42.5% 0.159 316.3);
Tailwind
colors: {
  custom: {
    50: '#9b68aa',
    500: '#6f2887',
    950: '#000000',
  },
}
SCSS
$custom: #6f2887;
$custom-light: #9b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2887",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 284.842,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42524,
    "c": 0.15902,
    "h": 316.3
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#6F2887
secondary
#6FB457
accent
#DE4A6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6F2887

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

Preview Lab → · Contrast checker → · Palette generator →

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