#6F1872#6F1872

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

Color values

HEX#6F1872
RGBrgb(111, 24, 114)
HSLhsl(298, 65%, 27%)
HSVhsv(298, 79%, 45%)
CMYKcmyk(2.6%, 78.9%, 0%, 55.3%)
CIE-LABlab(27.43, 48.20, -31.55)
CIE-LCHlch(27.43, 57.61, 326.80°)
OKLaboklab(39.55% 0.1329 -0.0877)
OKLCHoklch(39.55% 0.159 326.6)
XYZxyz(9.9193, 5.2484, 16.4069)
Luminance0.0525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1872 #1B7218
analogous
#421872 #6F1872 #721848
triadic
#6F1872 #726F18 #18726F
tetradic
#6F1872 #724218 #1B7218 #184872
square
#6F1872 #724218 #1B7218 #184872
split-complementary
#6F1872 #487218 #187242
monochromatic
#190519 #3E0D3F #6F1872 #A023A5 #CE31D4

Accessibility & contrast

On white

10.25
#6F1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1872
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1872#FFFFFF#000000##FFFFFF
##6F18721.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#2F4470
Tritanopia (blue-blind)
#722844
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1872;
/* rgb */ color: rgb(111, 24, 114);
/* oklch */ color: oklch(39.5% 0.159 326.6);
Tailwind
colors: {
  custom: {
    50: '#9c609b',
    500: '#6f1872',
    950: '#000000',
  },
}
SCSS
$custom: #6f1872;
$custom-light: #9c609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1872",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 298,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.15925,
    "h": 326.6
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#6F1872
secondary
#42A73E
accent
#E84045
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1872

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

Preview Lab → · Contrast checker → · Palette generator →

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