#6D168D#6D168D

#6D168D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.184 H 314.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6D168D
RGBrgb(109, 22, 141)
HSLhsl(284, 73%, 32%)
HSVhsv(284, 84%, 55%)
CMYKcmyk(22.7%, 84.4%, 0%, 44.7%)
CIE-LABlab(28.77, 53.61, -46.42)
CIE-LCHlch(28.77, 70.92, 319.12°)
OKLaboklab(41.03% 0.1283 -0.1313)
OKLCHoklch(41.03% 0.184 314.3)
XYZxyz(11.4005, 5.7485, 25.7032)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D168D #368D16
analogous
#32168D #6D168D #8D1671
triadic
#6D168D #8D6D16 #168D6D
tetradic
#6D168D #8D3216 #368D16 #16718D
square
#6D168D #8D3216 #368D16 #16718D
split-complementary
#6D168D #718D16 #168D32
monochromatic
#1B0523 #440E58 #6D168D #961EC2 #B53DE1

Accessibility & contrast

On white

9.77
#6D168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D168D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D168D#FFFFFF#000000##FFFFFF
##6D168D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#08468B
Tritanopia (blue-blind)
#6A3453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d168d;
/* rgb */ color: rgb(109, 22, 141);
/* oklch */ color: oklch(41.0% 0.184 314.3);
Tailwind
colors: {
  custom: {
    50: '#9b60af',
    500: '#6d168d',
    950: '#000000',
  },
}
SCSS
$custom: #6d168d;
$custom-light: #9b60af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d168d",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 283.866,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.18356,
    "h": 314.3
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#6D168D
secondary
#61C13E
accent
#F03869
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D168D

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

Preview Lab → · Contrast checker → · Palette generator →

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