#6A167B#6A167B

#6A167B is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.167 H 320.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6A167B
RGBrgb(106, 22, 123)
HSLhsl(290, 70%, 28%)
HSVhsv(290, 82%, 48%)
CMYKcmyk(13.8%, 82.1%, 0%, 51.8%)
CIE-LABlab(26.93, 49.46, -38.13)
CIE-LCHlch(26.93, 62.45, 322.37°)
OKLaboklab(39.21% 0.1278 -0.1071)
OKLCHoklch(39.21% 0.167 320)
XYZxyz(9.8055, 5.0686, 19.1969)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A167B #277B16
analogous
#37167B #6A167B #7B1659
triadic
#6A167B #7B6A16 #167B6A
tetradic
#6A167B #7B3716 #277B16 #16597B
square
#6A167B #7B3716 #277B16 #16597B
split-complementary
#6A167B #597B16 #167B37
monochromatic
#16051A #3D0D47 #6A167B #971FAF #BE31DA

Accessibility & contrast

On white

10.43
#6A167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A167B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A167B#FFFFFF#000000##FFFFFF
##6A167B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#6A2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a167b;
/* rgb */ color: rgb(106, 22, 123);
/* oklch */ color: oklch(39.2% 0.167 320.0);
Tailwind
colors: {
  custom: {
    50: '#985fa2',
    500: '#6a167b',
    950: '#000000',
  },
}
SCSS
$custom: #6a167b;
$custom-light: #985fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a167b",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 289.901,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.16671,
    "h": 320
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#6A167B
secondary
#50B03D
accent
#EC3B59
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A167B

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

Preview Lab → · Contrast checker → · Palette generator →

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