#6A168F#6A168F

#6A168F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.7% C 0.184 H 312.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#6A168F
RGBrgb(106, 22, 143)
HSLhsl(282, 73%, 32%)
HSVhsv(282, 85%, 56%)
CMYKcmyk(25.9%, 84.6%, 0%, 43.9%)
CIE-LABlab(28.44, 53.50, -48.22)
CIE-LCHlch(28.44, 72.03, 317.97°)
OKLaboklab(40.74% 0.1237 -0.1367)
OKLCHoklch(40.74% 0.184 312.2)
XYZxyz(11.1878, 5.6215, 26.4770)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A168F #3B8F16
analogous
#2E168F #6A168F #8F1677
triadic
#6A168F #8F6A16 #168F6A
tetradic
#6A168F #8F2E16 #3B8F16 #16778F
square
#6A168F #8F2E16 #3B8F16 #16778F
split-complementary
#6A168F #778F16 #168F2E
monochromatic
#1B0625 #430E5A #6A168F #911EC4 #AF3EE1

Accessibility & contrast

On white

9.89
#6A168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6A168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A168F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A168F#FFFFFF#000000##FFFFFF
##6A168F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#653654
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a168f;
/* rgb */ color: rgb(106, 22, 143);
/* oklch */ color: oklch(40.7% 0.184 312.2);
Tailwind
colors: {
  custom: {
    50: '#9960b1',
    500: '#6a168f',
    950: '#000000',
  },
}
SCSS
$custom: #6a168f;
$custom-light: #9960b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a168f",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 281.653,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40744,
    "c": 0.18438,
    "h": 312.2
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#6A168F
secondary
#67C13F
accent
#F03870
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #6A168F

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

Preview Lab → · Contrast checker → · Palette generator →

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