#6A166E#6A166E

#6A166E is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.156 H 326.1°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#6A166E
RGBrgb(106, 22, 110)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 80%, 43%)
CMYKcmyk(3.6%, 80%, 0%, 56.9%)
CIE-LABlab(26.05, 47.02, -31.23)
CIE-LCHlch(26.05, 56.44, 326.41°)
OKLaboklab(38.31% 0.1291 -0.0869)
OKLCHoklch(38.31% 0.156 326.1)
XYZxyz(9.0451, 4.7644, 15.1920)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A166E #1A6E16
analogous
#3E166E #6A166E #6E1646
triadic
#6A166E #6E6A16 #166E6A
tetradic
#6A166E #6E3E16 #1A6E16 #16466E
square
#6A166E #6E3E16 #1A6E16 #16466E
split-complementary
#6A166E #466E16 #166E3E
monochromatic
#19051A #390C3B #6A166E #9B20A1 #CC2AD4

Accessibility & contrast

On white

10.75
#6A166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A166E
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A166E#FFFFFF#000000##FFFFFF
##6A166E1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#2B416C
Tritanopia (blue-blind)
#6D2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a166e;
/* rgb */ color: rgb(106, 22, 110);
/* oklch */ color: oklch(38.3% 0.156 326.1);
Tailwind
colors: {
  custom: {
    50: '#985e98',
    500: '#6a166e',
    950: '#000000',
  },
}
SCSS
$custom: #6a166e;
$custom-light: #985e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6a166e",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 297.273,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.15558,
    "h": 326.1
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#6A166E
secondary
#40A43C
accent
#EA3E46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A166E

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

Preview Lab → · Contrast checker → · Palette generator →

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