#6F1372#6F1372

#6F1372 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 326.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6F1372
RGBrgb(111, 19, 114)
HSLhsl(298, 71%, 26%)
HSVhsv(298, 83%, 45%)
CMYKcmyk(2.6%, 83.3%, 0%, 55.3%)
CIE-LABlab(26.91, 49.72, -32.38)
CIE-LCHlch(26.91, 59.33, 326.92°)
OKLaboklab(39.17% 0.1372 -0.0901)
OKLCHoklch(39.17% 0.164 326.7)
XYZxyz(9.8255, 5.0609, 16.3757)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1372 #167213
analogous
#3F1372 #6F1372 #721345
triadic
#6F1372 #726F13 #13726F
tetradic
#6F1372 #723F13 #167213 #134572
square
#6F1372 #723F13 #167213 #134572
split-complementary
#6F1372 #457213 #13723F
monochromatic
#1A041A #3C0A3E #6F1372 #A21CA6 #D525DB

Accessibility & contrast

On white

10.44
#6F1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6F1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1372
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1372#FFFFFF#000000##FFFFFF
##6F13721.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#722543
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f1372;
/* rgb */ color: rgb(111, 19, 114);
/* oklch */ color: oklch(39.2% 0.164 326.7);
Tailwind
colors: {
  custom: {
    50: '#9c5e9b',
    500: '#6f1372',
    950: '#000000',
  },
}
SCSS
$custom: #6f1372;
$custom-light: #9c5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1372",
  "rgb": {
    "r": 111,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 298.105,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.16411,
    "h": 326.7
  },
  "luminance": 0.0506
}

Semantic roles & 50–950 ramp

primary
#6F1372
secondary
#3CA938
accent
#EE3A3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1372

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

Preview Lab → · Contrast checker → · Palette generator →

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