#6F176C#6F176C

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

Color values

HEX#6F176C
RGBrgb(111, 23, 108)
HSLhsl(302, 66%, 26%)
HSVhsv(302, 79%, 44%)
CMYKcmyk(0%, 79.3%, 2.7%, 56.5%)
CIE-LABlab(26.95, 47.47, -28.46)
CIE-LCHlch(26.95, 55.35, 329.06°)
OKLaboklab(39.08% 0.134 -0.0787)
OKLCHoklch(39.08% 0.155 329.6)
XYZxyz(9.5687, 5.0758, 14.6602)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F176C #176F1A
analogous
#46176F #6F176C #6F1740
triadic
#6F176C #6C6F17 #176C6F
tetradic
#6F176C #6F4617 #176F1A #17406F
square
#6F176C #6F4617 #176F1A #17406F
split-complementary
#6F176C #406F17 #176F46
monochromatic
#190519 #3C0C3B #6F176C #A2229D #D32DCE

Accessibility & contrast

On white

10.42
#6F176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F176C
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F176C#FFFFFF#000000##FFFFFF
##6F176C1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#32446A
Tritanopia (blue-blind)
#732441
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f176c;
/* rgb */ color: rgb(111, 23, 108);
/* oklch */ color: oklch(39.1% 0.155 329.6);
Tailwind
colors: {
  custom: {
    50: '#9c5f96',
    500: '#6f176c',
    950: '#000000',
  },
}
SCSS
$custom: #6f176c;
$custom-light: #9c5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6f176c",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 302.045,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39084,
    "c": 0.15539,
    "h": 329.6
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#6F176C
secondary
#3DA541
accent
#E9453F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F176C

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

Preview Lab → · Contrast checker → · Palette generator →

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