#6F176B#6F176B

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

Color values

HEX#6F176B
RGBrgb(111, 23, 107)
HSLhsl(303, 66%, 26%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 79.3%, 3.6%, 56.5%)
CIE-LABlab(26.89, 47.30, -27.91)
CIE-LCHlch(26.89, 54.92, 329.46°)
OKLaboklab(39.02% 0.134 -0.0771)
OKLCHoklch(39.02% 0.155 330.1)
XYZxyz(9.5157, 5.0546, 14.3815)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F176B #176F1B
analogous
#47176F #6F176B #6F173F
triadic
#6F176B #6B6F17 #176B6F
tetradic
#6F176B #6F4717 #176F1B #173F6F
square
#6F176B #6F4717 #176F1B #173F6F
split-complementary
#6F176B #3F6F17 #176F47
monochromatic
#190518 #3C0C3A #6F176B #A2229C #D32DCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F176B#FFFFFF#000000##FFFFFF
##6F176B1.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)
#0A386D
Deuteranopia (green-blind)
#324469
Tritanopia (blue-blind)
#732340
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f176b;
/* rgb */ color: rgb(111, 23, 107);
/* oklch */ color: oklch(39.0% 0.155 330.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#6f176b',
    950: '#000000',
  },
}
SCSS
$custom: #6f176b;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6f176b",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 302.727,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39022,
    "c": 0.15458,
    "h": 330.1
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#6F176B
secondary
#3DA542
accent
#E9473F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F176B

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

Preview Lab → · Contrast checker → · Palette generator →

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