#6D167C#6D167C

#6D167C is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.169 H 321.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6D167C
RGBrgb(109, 22, 124)
HSLhsl(291, 70%, 29%)
HSVhsv(291, 82%, 49%)
CMYKcmyk(12.1%, 82.3%, 0%, 51.4%)
CIE-LABlab(27.52, 50.26, -37.79)
CIE-LCHlch(27.52, 62.88, 323.06°)
OKLaboklab(39.75% 0.1314 -0.106)
OKLCHoklch(39.75% 0.169 321.1)
XYZxyz(10.2313, 5.2808, 19.5453)
Luminance0.0528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D167C #257C16
analogous
#3A167C #6D167C #7C1658
triadic
#6D167C #7C6D16 #167C6D
tetradic
#6D167C #7C3A16 #257C16 #16587C
square
#6D167C #7C3A16 #257C16 #16587C
split-complementary
#6D167C #587C16 #167C3A
monochromatic
#17051A #3F0D48 #6D167C #9B1FB0 #C232DB

Accessibility & contrast

On white

10.21
#6D167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D167C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D167C#FFFFFF#000000##FFFFFF
##6D167C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#23447A
Tritanopia (blue-blind)
#6E2C49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d167c;
/* rgb */ color: rgb(109, 22, 124);
/* oklch */ color: oklch(39.8% 0.169 321.1);
Tailwind
colors: {
  custom: {
    50: '#9a5fa2',
    500: '#6d167c',
    950: '#000000',
  },
}
SCSS
$custom: #6d167c;
$custom-light: #9a5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d167c",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 291.176,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.16879,
    "h": 321.1
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#6D167C
secondary
#4EB13D
accent
#ED3B55
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6D167C

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

Preview Lab → · Contrast checker → · Palette generator →

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