#6F1A71#6F1A71

#6F1A71 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.156 H 327.0°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6F1A71
RGBrgb(111, 26, 113)
HSLhsl(299, 63%, 27%)
HSVhsv(299, 77%, 44%)
CMYKcmyk(1.8%, 77%, 0%, 55.7%)
CIE-LABlab(27.60, 47.35, -30.63)
CIE-LCHlch(27.60, 56.39, 327.10°)
OKLaboklab(39.65% 0.1311 -0.085)
OKLCHoklch(39.65% 0.156 327)
XYZxyz(9.9054, 5.3112, 16.1230)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A71 #1C711A
analogous
#441A71 #6F1A71 #711A47
triadic
#6F1A71 #716F1A #1A716F
tetradic
#6F1A71 #71441A #1C711A #1A4771
square
#6F1A71 #71441A #1C711A #1A4771
split-complementary
#6F1A71 #47711A #1A7144
monochromatic
#180619 #3E0F3F #6F1A71 #A025A3 #CD35D0

Accessibility & contrast

On white

10.18
#6F1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F1A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A71
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A71#FFFFFF#000000##FFFFFF
##6F1A711.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#722844
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f1a71;
/* rgb */ color: rgb(111, 26, 113);
/* oklch */ color: oklch(39.6% 0.156 327.0);
Tailwind
colors: {
  custom: {
    50: '#9b619a',
    500: '#6f1a71',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a71;
$custom-light: #9b619a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a71",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 298.621,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3965,
    "c": 0.15624,
    "h": 327
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#6F1A71
secondary
#43A641
accent
#E64246
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F050E
muted
#7E7A7E

Preview Lab

Preview with #6F1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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