#6F167B#6F167B

#6F167B is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.169 H 322.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6F167B
RGBrgb(111, 22, 123)
HSLhsl(293, 70%, 28%)
HSVhsv(293, 82%, 48%)
CMYKcmyk(9.8%, 82.1%, 0%, 51.8%)
CIE-LABlab(27.80, 50.48, -36.68)
CIE-LCHlch(27.80, 62.40, 323.99°)
OKLaboklab(40% 0.134 -0.1027)
OKLCHoklch(40% 0.169 322.5)
XYZxyz(10.4172, 5.3840, 19.2256)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F167B #227B16
analogous
#3C167B #6F167B #7B1654
triadic
#6F167B #7B6F16 #167B6F
tetradic
#6F167B #7B3C16 #227B16 #16547B
square
#6F167B #7B3C16 #227B16 #16547B
split-complementary
#6F167B #547B16 #167B3C
monochromatic
#17051A #400D47 #6F167B #9E1FAF #C631DA

Accessibility & contrast

On white

10.11
#6F167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6F167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F167B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F167B#FFFFFF#000000##FFFFFF
##6F167B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#702B49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f167b;
/* rgb */ color: rgb(111, 22, 123);
/* oklch */ color: oklch(40.0% 0.169 322.5);
Tailwind
colors: {
  custom: {
    50: '#9c60a2',
    500: '#6f167b',
    950: '#000000',
  },
}
SCSS
$custom: #6f167b;
$custom-light: #9c60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f167b",
  "rgb": {
    "r": 111,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 292.871,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39998,
    "c": 0.16878,
    "h": 322.5
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#6F167B
secondary
#4AB03D
accent
#EC3B50
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F167B

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

Preview Lab → · Contrast checker → · Palette generator →

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