#6F176D#6F176D

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

Color values

HEX#6F176D
RGBrgb(111, 23, 109)
HSLhsl(301, 66%, 26%)
HSVhsv(301, 79%, 44%)
CMYKcmyk(0%, 79.3%, 1.8%, 56.5%)
CIE-LABlab(27.01, 47.64, -29.01)
CIE-LCHlch(27.01, 55.78, 328.67°)
OKLaboklab(39.15% 0.134 -0.0803)
OKLCHoklch(39.15% 0.156 329.1)
XYZxyz(9.6222, 5.0972, 14.9421)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F176D #176F19
analogous
#45176F #6F176D #6F1741
triadic
#6F176D #6D6F17 #176D6F
tetradic
#6F176D #6F4517 #176F19 #17416F
square
#6F176D #6F4517 #176F19 #17416F
split-complementary
#6F176D #416F17 #176F45
monochromatic
#190519 #3C0C3B #6F176D #A2229F #D32DD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F176D#FFFFFF#000000##FFFFFF
##6F176D1.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)
#06386F
Deuteranopia (green-blind)
#31446B
Tritanopia (blue-blind)
#732541
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f176d;
/* rgb */ color: rgb(111, 23, 109);
/* oklch */ color: oklch(39.1% 0.156 329.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f97',
    500: '#6f176d',
    950: '#000000',
  },
}
SCSS
$custom: #6f176d;
$custom-light: #9c5f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6f176d",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 301.364,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.1562,
    "h": 329.1
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#6F176D
secondary
#3DA53F
accent
#E9433F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F176D

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

Preview Lab → · Contrast checker → · Palette generator →

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