#6A167F#6A167F

#6A167F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.170 H 318.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#6A167F
RGBrgb(106, 22, 127)
HSLhsl(288, 70%, 29%)
HSVhsv(288, 83%, 50%)
CMYKcmyk(16.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(27.22, 50.25, -40.20)
CIE-LCHlch(27.22, 64.35, 321.34°)
OKLaboklab(39.51% 0.1272 -0.1131)
OKLCHoklch(39.51% 0.17 318.3)
XYZxyz(10.0610, 5.1708, 20.5427)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A167F #2B7F16
analogous
#36167F #6A167F #7F1660
triadic
#6A167F #7F6A16 #167F6A
tetradic
#6A167F #7F3616 #2B7F16 #16607F
square
#6A167F #7F3616 #2B7F16 #16607F
split-complementary
#6A167F #607F16 #167F36
monochromatic
#16051A #3E0D4B #6A167F #961FB3 #BA34DC

Accessibility & contrast

On white

10.32
#6A167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A167F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A167F#FFFFFF#000000##FFFFFF
##6A167F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#692E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a167f;
/* rgb */ color: rgb(106, 22, 127);
/* oklch */ color: oklch(39.5% 0.170 318.3);
Tailwind
colors: {
  custom: {
    50: '#985fa5',
    500: '#6a167f',
    950: '#000000',
  },
}
SCSS
$custom: #6a167f;
$custom-light: #985fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a167f",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 288,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39505,
    "c": 0.17019,
    "h": 318.3
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#6A167F
secondary
#55B43D
accent
#ED3B5E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A167F

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

Preview Lab → · Contrast checker → · Palette generator →

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