#6F1877#6F1877

#6F1877 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.163 H 324.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6F1877
RGBrgb(111, 24, 119)
HSLhsl(295, 66%, 28%)
HSVhsv(295, 80%, 47%)
CMYKcmyk(6.7%, 79.8%, 0%, 53.3%)
CIE-LABlab(27.75, 49.11, -34.22)
CIE-LCHlch(27.75, 59.86, 325.13°)
OKLaboklab(39.88% 0.1327 -0.0955)
OKLCHoklch(39.88% 0.163 324.3)
XYZxyz(10.2117, 5.3653, 17.9469)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1877 #207718
analogous
#3F1877 #6F1877 #771850
triadic
#6F1877 #776F18 #18776F
tetradic
#6F1877 #773F18 #207718 #185077
square
#6F1877 #773F18 #207718 #185077
split-complementary
#6F1877 #507718 #18773F
monochromatic
#180519 #3F0E44 #6F1877 #9F22AA #C833D6

Accessibility & contrast

On white

10.13
#6F1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6F1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1877
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1877#FFFFFF#000000##FFFFFF
##6F18771.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#2B4575
Tritanopia (blue-blind)
#712A47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1877;
/* rgb */ color: rgb(111, 24, 119);
/* oklch */ color: oklch(39.9% 0.163 324.3);
Tailwind
colors: {
  custom: {
    50: '#9c609f',
    500: '#6f1877',
    950: '#000000',
  },
}
SCSS
$custom: #6f1877;
$custom-light: #9c609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1877",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 294.947,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.16345,
    "h": 324.3
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#6F1877
secondary
#48AC3F
accent
#E93E4D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1877

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

Preview Lab → · Contrast checker → · Palette generator →

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