#6C167D#6C167D

#6C167D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.169 H 320.2°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#6C167D
RGBrgb(108, 22, 125)
HSLhsl(290, 70%, 29%)
HSVhsv(290, 82%, 49%)
CMYKcmyk(13.6%, 82.4%, 0%, 51%)
CIE-LABlab(27.42, 50.25, -38.59)
CIE-LCHlch(27.42, 63.36, 322.47°)
OKLaboklab(39.67% 0.13 -0.1084)
OKLCHoklch(39.67% 0.169 320.2)
XYZxyz(10.1725, 5.2432, 19.8743)
Luminance0.0524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C167D #277D16
analogous
#39167D #6C167D #7D165B
triadic
#6C167D #7D6C16 #167D6C
tetradic
#6C167D #7D3916 #277D16 #165B7D
square
#6C167D #7D3916 #277D16 #165B7D
split-complementary
#6C167D #5B7D16 #167D39
monochromatic
#16051A #3F0D49 #6C167D #991FB1 #BF32DB

Accessibility & contrast

On white

10.25
#6C167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6C167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C167D
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C167D#FFFFFF#000000##FFFFFF
##6C167D1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#6C2D4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c167d;
/* rgb */ color: rgb(108, 22, 125);
/* oklch */ color: oklch(39.7% 0.169 320.2);
Tailwind
colors: {
  custom: {
    50: '#9a5fa3',
    500: '#6c167d',
    950: '#000000',
  },
}
SCSS
$custom: #6c167d;
$custom-light: #9a5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c167d",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 290.097,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.16925,
    "h": 320.2
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#6C167D
secondary
#50B23D
accent
#ED3B58
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C167D

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

Preview Lab → · Contrast checker → · Palette generator →

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