#6B167A#6B167A

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

Color values

HEX#6B167A
RGBrgb(107, 22, 122)
HSLhsl(291, 69%, 28%)
HSVhsv(291, 82%, 48%)
CMYKcmyk(12.3%, 82%, 0%, 52.2%)
CIE-LABlab(27.03, 49.47, -37.32)
CIE-LCHlch(27.03, 61.97, 322.97°)
OKLaboklab(39.3% 0.1292 -0.1047)
OKLCHoklch(39.3% 0.166 321)
XYZxyz(9.8628, 5.1053, 18.8745)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B167A #257A16
analogous
#39167A #6B167A #7A1657
triadic
#6B167A #7A6B16 #167A6B
tetradic
#6B167A #7A3916 #257A16 #16577A
square
#6B167A #7A3916 #257A16 #16577A
split-complementary
#6B167A #577A16 #167A39
monochromatic
#17051A #3E0D46 #6B167A #981FAE #C031DA

Accessibility & contrast

On white

10.39
#6B167A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B167A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B167A#FFFFFF#000000##FFFFFF
##6B167A1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#6C2B48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b167a;
/* rgb */ color: rgb(107, 22, 122);
/* oklch */ color: oklch(39.3% 0.166 321.0);
Tailwind
colors: {
  custom: {
    50: '#995fa1',
    500: '#6b167a',
    950: '#000000',
  },
}
SCSS
$custom: #6b167a;
$custom-light: #995fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b167a",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 122
  },
  "hsl": {
    "h": 291,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39297,
    "c": 0.16625,
    "h": 321
  },
  "luminance": 0.05105
}

Semantic roles & 50–950 ramp

primary
#6B167A
secondary
#4EAF3D
accent
#EC3C56
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B167A

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

Preview Lab → · Contrast checker → · Palette generator →

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