#6B167C#6B167C

#6B167C is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.168 H 320.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6B167C
RGBrgb(107, 22, 124)
HSLhsl(290, 70%, 29%)
HSVhsv(290, 82%, 49%)
CMYKcmyk(13.7%, 82.3%, 0%, 51.4%)
CIE-LABlab(27.17, 49.86, -38.36)
CIE-LCHlch(27.17, 62.91, 322.42°)
OKLaboklab(39.44% 0.1289 -0.1077)
OKLCHoklch(39.44% 0.168 320.1)
XYZxyz(9.9880, 5.1554, 19.5339)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B167C #277C16
analogous
#38167C #6B167C #7C165A
triadic
#6B167C #7C6B16 #167C6B
tetradic
#6B167C #7C3816 #277C16 #165A7C
square
#6B167C #7C3816 #277C16 #165A7C
split-complementary
#6B167C #5A7C16 #167C38
monochromatic
#16051A #3E0D48 #6B167C #981FB0 #BE32DB

Accessibility & contrast

On white

10.34
#6B167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B167C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B167C#FFFFFF#000000##FFFFFF
##6B167C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#21437A
Tritanopia (blue-blind)
#6B2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b167c;
/* rgb */ color: rgb(107, 22, 124);
/* oklch */ color: oklch(39.4% 0.168 320.1);
Tailwind
colors: {
  custom: {
    50: '#995fa2',
    500: '#6b167c',
    950: '#000000',
  },
}
SCSS
$custom: #6b167c;
$custom-light: #995fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b167c",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 290,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3944,
    "c": 0.16797,
    "h": 320.1
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#6B167C
secondary
#50B13D
accent
#ED3B59
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B167C

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

Preview Lab → · Contrast checker → · Palette generator →

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