#6F176F#6F176F

#6F176F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.158 H 328.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#6F176F
RGBrgb(111, 23, 111)
HSLhsl(300, 66%, 26%)
HSVhsv(300, 79%, 44%)
CMYKcmyk(0%, 79.3%, 0%, 56.5%)
CIE-LABlab(27.13, 47.99, -30.10)
CIE-LCHlch(27.13, 56.65, 327.91°)
OKLaboklab(39.27% 0.134 -0.0835)
OKLCHoklch(39.27% 0.158 328.1)
XYZxyz(9.7311, 5.1407, 15.5156)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F176F #176F17
analogous
#43176F #6F176F #6F1743
triadic
#6F176F #6F6F17 #176F6F
tetradic
#6F176F #6F4317 #176F17 #17436F
square
#6F176F #6F4317 #176F17 #17436F
split-complementary
#6F176F #436F17 #176F43
monochromatic
#190519 #3C0C3C #6F176F #A222A2 #D32DD3

Accessibility & contrast

On white

10.36
#6F176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F176F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F176F#FFFFFF#000000##FFFFFF
##6F176F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#732642
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f176f;
/* rgb */ color: rgb(111, 23, 111);
/* oklch */ color: oklch(39.3% 0.158 328.1);
Tailwind
colors: {
  custom: {
    50: '#9c5f99',
    500: '#6f176f',
    950: '#000000',
  },
}
SCSS
$custom: #6f176f;
$custom-light: #9c5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6f176f",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 300,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.15782,
    "h": 328.1
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#6F176F
secondary
#3DA53D
accent
#E93F3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050E
muted
#7E797E

Preview Lab

Preview with #6F176F

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

Preview Lab → · Contrast checker → · Palette generator →

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