#6F176A#6F176A

#6F176A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.154 H 330.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#6F176A
RGBrgb(111, 23, 106)
HSLhsl(303, 66%, 26%)
HSVhsv(303, 79%, 44%)
CMYKcmyk(0%, 79.3%, 4.5%, 56.5%)
CIE-LABlab(26.83, 47.13, -27.35)
CIE-LCHlch(26.83, 54.49, 329.87°)
OKLaboklab(38.96% 0.134 -0.0755)
OKLCHoklch(38.96% 0.154 330.6)
XYZxyz(9.4634, 5.0337, 14.1060)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F176A #176F1C
analogous
#48176F #6F176A #6F173E
triadic
#6F176A #6A6F17 #176A6F
tetradic
#6F176A #6F4817 #176F1C #173E6F
square
#6F176A #6F4817 #176F1C #173E6F
split-complementary
#6F176A #3E6F17 #176F48
monochromatic
#190518 #3C0C3A #6F176A #A2229A #D32DCA

Accessibility & contrast

On white

10.47
#6F176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F176A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F176A#FFFFFF#000000##FFFFFF
##6F176A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386C
Deuteranopia (green-blind)
#334468
Tritanopia (blue-blind)
#74233F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6f176a;
/* rgb */ color: rgb(111, 23, 106);
/* oklch */ color: oklch(39.0% 0.154 330.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f95',
    500: '#6f176a',
    950: '#000000',
  },
}
SCSS
$custom: #6f176a;
$custom-light: #9c5f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6f176a",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 303.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.15378,
    "h": 330.6
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#6F176A
secondary
#3DA543
accent
#E9493F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F176A

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

Preview Lab → · Contrast checker → · Palette generator →

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