#6A167E#6A167E

#6A167E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.169 H 318.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#6A167E
RGBrgb(106, 22, 126)
HSLhsl(288, 70%, 29%)
HSVhsv(288, 83%, 49%)
CMYKcmyk(15.9%, 82.5%, 0%, 50.6%)
CIE-LABlab(27.14, 50.05, -39.68)
CIE-LCHlch(27.14, 63.87, 321.59°)
OKLaboklab(39.43% 0.1273 -0.1116)
OKLCHoklch(39.43% 0.169 318.8)
XYZxyz(9.9962, 5.1448, 20.2011)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A167E #2A7E16
analogous
#36167E #6A167E #7E165E
triadic
#6A167E #7E6A16 #167E6A
tetradic
#6A167E #7E3616 #2A7E16 #165E7E
square
#6A167E #7E3616 #2A7E16 #165E7E
split-complementary
#6A167E #5E7E16 #167E36
monochromatic
#16051A #3E0D4A #6A167E #961FB2 #BB33DB

Accessibility & contrast

On white

10.35
#6A167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A167E
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A167E#FFFFFF#000000##FFFFFF
##6A167E1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#6A2E4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a167e;
/* rgb */ color: rgb(106, 22, 126);
/* oklch */ color: oklch(39.4% 0.169 318.8);
Tailwind
colors: {
  custom: {
    50: '#985fa4',
    500: '#6a167e',
    950: '#000000',
  },
}
SCSS
$custom: #6a167e;
$custom-light: #985fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a167e",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 288.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39431,
    "c": 0.16932,
    "h": 318.8
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#6A167E
secondary
#54B33D
accent
#ED3B5D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A167E

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

Preview Lab → · Contrast checker → · Palette generator →

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