#6F1871#6F1871

#6F1871 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.158 H 327.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#6F1871
RGBrgb(111, 24, 113)
HSLhsl(299, 65%, 27%)
HSVhsv(299, 79%, 44%)
CMYKcmyk(1.8%, 78.8%, 0%, 55.7%)
CIE-LABlab(27.37, 48.02, -31.01)
CIE-LCHlch(27.37, 57.16, 327.15°)
OKLaboklab(39.48% 0.133 -0.0861)
OKLCHoklch(39.48% 0.158 327.1)
XYZxyz(9.8627, 5.2257, 16.1088)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1871 #1A7118
analogous
#431871 #6F1871 #711847
triadic
#6F1871 #716F18 #18716F
tetradic
#6F1871 #714318 #1A7118 #184771
square
#6F1871 #714318 #1A7118 #184771
split-complementary
#6F1871 #477118 #187143
monochromatic
#190519 #3D0D3F #6F1871 #A123A3 #CF30D3

Accessibility & contrast

On white

10.27
#6F1871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6F1871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1871
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1871#FFFFFF#000000##FFFFFF
##6F18711.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A73
Deuteranopia (green-blind)
#2F446F
Tritanopia (blue-blind)
#722744
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1871;
/* rgb */ color: rgb(111, 24, 113);
/* oklch */ color: oklch(39.5% 0.158 327.1);
Tailwind
colors: {
  custom: {
    50: '#9c609a',
    500: '#6f1871',
    950: '#000000',
  },
}
SCSS
$custom: #6f1871;
$custom-light: #9c609a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1871",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 298.652,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.15842,
    "h": 327.1
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#6F1871
secondary
#41A63E
accent
#E84044
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1871

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

Preview Lab → · Contrast checker → · Palette generator →

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