#6F167D#6F167D

#6F167D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.170 H 321.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#6F167D
RGBrgb(111, 22, 125)
HSLhsl(292, 70%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(11.2%, 82.4%, 0%, 51%)
CIE-LABlab(27.94, 50.85, -37.73)
CIE-LCHlch(27.94, 63.32, 323.43°)
OKLaboklab(40.14% 0.1337 -0.1057)
OKLCHoklch(40.14% 0.17 321.7)
XYZxyz(10.5437, 5.4346, 19.8917)
Luminance0.0543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F167D #247D16
analogous
#3C167D #6F167D #7D1658
triadic
#6F167D #7D6F16 #167D6F
tetradic
#6F167D #7D3C16 #247D16 #16587D
square
#6F167D #7D3C16 #247D16 #16587D
split-complementary
#6F167D #587D16 #167D3C
monochromatic
#17051A #410D49 #6F167D #9D1FB1 #C432DB

Accessibility & contrast

On white

10.06
#6F167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6F167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F167D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F167D#FFFFFF#000000##FFFFFF
##6F167D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#702C4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f167d;
/* rgb */ color: rgb(111, 22, 125);
/* oklch */ color: oklch(40.1% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#9c60a3',
    500: '#6f167d',
    950: '#000000',
  },
}
SCSS
$custom: #6f167d;
$custom-light: #9c60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f167d",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 291.845,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.17047,
    "h": 321.7
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#6F167D
secondary
#4DB23D
accent
#ED3B53
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F167D

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

Preview Lab → · Contrast checker → · Palette generator →

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