#6B167B#6B167B

#6B167B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.167 H 320.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#6B167B
RGBrgb(107, 22, 123)
HSLhsl(290, 70%, 28%)
HSVhsv(290, 82%, 48%)
CMYKcmyk(13%, 82.1%, 0%, 51.8%)
CIE-LABlab(27.10, 49.66, -37.84)
CIE-LCHlch(27.10, 62.44, 322.69°)
OKLaboklab(39.37% 0.129 -0.1062)
OKLCHoklch(39.37% 0.167 320.5)
XYZxyz(9.9250, 5.1302, 19.2025)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B167B #267B16
analogous
#38167B #6B167B #7B1658
triadic
#6B167B #7B6B16 #167B6B
tetradic
#6B167B #7B3816 #267B16 #16587B
square
#6B167B #7B3816 #267B16 #16587B
split-complementary
#6B167B #587B16 #167B38
monochromatic
#17051A #3E0D47 #6B167B #981FAF #BF31DA

Accessibility & contrast

On white

10.37
#6B167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B167B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B167B#FFFFFF#000000##FFFFFF
##6B167B1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#224379
Tritanopia (blue-blind)
#6C2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b167b;
/* rgb */ color: rgb(107, 22, 123);
/* oklch */ color: oklch(39.4% 0.167 320.5);
Tailwind
colors: {
  custom: {
    50: '#995fa2',
    500: '#6b167b',
    950: '#000000',
  },
}
SCSS
$custom: #6b167b;
$custom-light: #995fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b167b",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 290.495,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.16711,
    "h": 320.5
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#6B167B
secondary
#4FB03D
accent
#EC3B57
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B167B

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

Preview Lab → · Contrast checker → · Palette generator →

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