#6F1472#6F1472

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

Color values

HEX#6F1472
RGBrgb(111, 20, 114)
HSLhsl(298, 70%, 26%)
HSVhsv(298, 82%, 45%)
CMYKcmyk(2.6%, 82.5%, 0%, 55.3%)
CIE-LABlab(27.00, 49.43, -32.23)
CIE-LCHlch(27.00, 59.01, 326.90°)
OKLaboklab(39.24% 0.1364 -0.0896)
OKLCHoklch(39.24% 0.163 326.7)
XYZxyz(9.8428, 5.0954, 16.3814)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1472 #177214
analogous
#401472 #6F1472 #721446
triadic
#6F1472 #726F14 #14726F
tetradic
#6F1472 #724014 #177214 #144672
square
#6F1472 #724014 #177214 #144672
split-complementary
#6F1472 #467214 #147240
monochromatic
#19051A #3C0B3E #6F1472 #A21DA6 #D327D9

Accessibility & contrast

On white

10.40
#6F1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6F1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1472
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1472#FFFFFF#000000##FFFFFF
##6F14721.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1472;
/* rgb */ color: rgb(111, 20, 114);
/* oklch */ color: oklch(39.2% 0.163 326.7);
Tailwind
colors: {
  custom: {
    50: '#9c5f9b',
    500: '#6f1472',
    950: '#000000',
  },
}
SCSS
$custom: #6f1472;
$custom-light: #9c5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1472",
  "rgb": {
    "r": 111,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 298.085,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.1632,
    "h": 326.7
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#6F1472
secondary
#3DA839
accent
#ED3B41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F1472

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

Preview Lab → · Contrast checker → · Palette generator →

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