#6A1688#6A1688

#6A1688 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.178 H 314.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6A1688
RGBrgb(106, 22, 136)
HSLhsl(284, 72%, 31%)
HSVhsv(284, 84%, 53%)
CMYKcmyk(22.1%, 83.8%, 0%, 46.7%)
CIE-LABlab(27.89, 52.06, -44.76)
CIE-LCHlch(27.89, 68.65, 319.31°)
OKLaboklab(40.19% 0.1254 -0.1265)
OKLCHoklch(40.19% 0.178 314.7)
XYZxyz(10.6740, 5.4160, 23.7709)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1688 #348816
analogous
#311688 #6A1688 #88166D
triadic
#6A1688 #886A16 #16886A
tetradic
#6A1688 #883116 #348816 #166D88
square
#6A1688 #883116 #348816 #166D88
split-complementary
#6A1688 #6D8816 #168831
monochromatic
#18051F #410D53 #6A1688 #931FBD #B339DF

Accessibility & contrast

On white

10.08
#6A1688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A1688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1688
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1688#FFFFFF#000000##FFFFFF
##6A16881.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#0C4486
Tritanopia (blue-blind)
#673350
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1688;
/* rgb */ color: rgb(106, 22, 136);
/* oklch */ color: oklch(40.2% 0.178 314.7);
Tailwind
colors: {
  custom: {
    50: '#9960ab',
    500: '#6a1688',
    950: '#000000',
  },
}
SCSS
$custom: #6a1688;
$custom-light: #9960ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1688",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 284.211,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.17814,
    "h": 314.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#6A1688
secondary
#5FBC3E
accent
#EF3969
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1688

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

Preview Lab → · Contrast checker → · Palette generator →

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