#6A167C#6A167C

#6A167C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.168 H 319.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6A167C
RGBrgb(106, 22, 124)
HSLhsl(289, 70%, 29%)
HSVhsv(289, 82%, 49%)
CMYKcmyk(14.5%, 82.3%, 0%, 51.4%)
CIE-LABlab(27.00, 49.66, -38.65)
CIE-LCHlch(27.00, 62.93, 322.11°)
OKLaboklab(39.28% 0.1276 -0.1086)
OKLCHoklch(39.28% 0.168 319.6)
XYZxyz(9.8684, 5.0937, 19.5283)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A167C #287C16
analogous
#37167C #6A167C #7C165B
triadic
#6A167C #7C6A16 #167C6A
tetradic
#6A167C #7C3716 #287C16 #165B7C
square
#6A167C #7C3716 #287C16 #165B7C
split-complementary
#6A167C #5B7C16 #167C37
monochromatic
#16051A #3E0D48 #6A167C #961FB0 #BD32DB

Accessibility & contrast

On white

10.40
#6A167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A167C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A167C#FFFFFF#000000##FFFFFF
##6A167C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#1F437A
Tritanopia (blue-blind)
#6A2D49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a167c;
/* rgb */ color: rgb(106, 22, 124);
/* oklch */ color: oklch(39.3% 0.168 319.6);
Tailwind
colors: {
  custom: {
    50: '#985fa2',
    500: '#6a167c',
    950: '#000000',
  },
}
SCSS
$custom: #6a167c;
$custom-light: #985fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a167c",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 289.412,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39284,
    "c": 0.16757,
    "h": 319.6
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#6A167C
secondary
#51B13D
accent
#ED3B5A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A167C

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

Preview Lab → · Contrast checker → · Palette generator →

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