#6F167F#6F167F

#6F167F is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.172 H 320.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#6F167F
RGBrgb(111, 22, 127)
HSLhsl(291, 70%, 29%)
HSVhsv(291, 83%, 50%)
CMYKcmyk(12.6%, 82.7%, 0%, 50.2%)
CIE-LABlab(28.08, 51.23, -38.77)
CIE-LCHlch(28.08, 64.25, 322.89°)
OKLaboklab(40.28% 0.1335 -0.1088)
OKLCHoklch(40.28% 0.172 320.8)
XYZxyz(10.6728, 5.4862, 20.5713)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F167F #267F16
analogous
#3B167F #6F167F #7F165B
triadic
#6F167F #7F6F16 #167F6F
tetradic
#6F167F #7F3B16 #267F16 #165B7F
square
#6F167F #7F3B16 #267F16 #165B7F
split-complementary
#6F167F #5B7F16 #167F3B
monochromatic
#17051A #410D4B #6F167F #9D1FB3 #C234DC

Accessibility & contrast

On white

10.01
#6F167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6F167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F167F
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F167F#FFFFFF#000000##FFFFFF
##6F167F1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#702D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f167f;
/* rgb */ color: rgb(111, 22, 127);
/* oklch */ color: oklch(40.3% 0.172 320.8);
Tailwind
colors: {
  custom: {
    50: '#9c60a5',
    500: '#6f167f',
    950: '#000000',
  },
}
SCSS
$custom: #6f167f;
$custom-light: #9c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f167f",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 290.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.17216,
    "h": 320.8
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#6F167F
secondary
#4FB43D
accent
#ED3B56
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F167F

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

Preview Lab → · Contrast checker → · Palette generator →

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