#6D167F#6D167F

#6D167F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 319.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6D167F
RGBrgb(109, 22, 127)
HSLhsl(290, 70%, 29%)
HSVhsv(290, 83%, 50%)
CMYKcmyk(14.2%, 82.7%, 0%, 50.2%)
CIE-LABlab(27.73, 50.84, -39.34)
CIE-LCHlch(27.73, 64.28, 322.26°)
OKLaboklab(39.97% 0.131 -0.1105)
OKLCHoklch(39.97% 0.171 319.8)
XYZxyz(10.4239, 5.3579, 20.5597)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D167F #287F16
analogous
#39167F #6D167F #7F165D
triadic
#6D167F #7F6D16 #167F6D
tetradic
#6D167F #7F3916 #287F16 #165D7F
square
#6D167F #7F3916 #287F16 #165D7F
split-complementary
#6D167F #5D7F16 #167F39
monochromatic
#16051A #400D4B #6D167F #9A1FB3 #BF34DC

Accessibility & contrast

On white

10.14
#6D167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D167F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D167F#FFFFFF#000000##FFFFFF
##6D167F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#20447D
Tritanopia (blue-blind)
#6D2E4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d167f;
/* rgb */ color: rgb(109, 22, 127);
/* oklch */ color: oklch(40.0% 0.171 319.8);
Tailwind
colors: {
  custom: {
    50: '#9b60a5',
    500: '#6d167f',
    950: '#000000',
  },
}
SCSS
$custom: #6d167f;
$custom-light: #9b60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d167f",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 289.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.17137,
    "h": 319.8
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#6D167F
secondary
#51B43D
accent
#ED3B59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D167F

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

Preview Lab → · Contrast checker → · Palette generator →

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