#6A1684#6A1684

#6A1684 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.175 H 316.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6A1684
RGBrgb(106, 22, 132)
HSLhsl(286, 71%, 30%)
HSVhsv(286, 83%, 52%)
CMYKcmyk(19.7%, 83.3%, 0%, 48.2%)
CIE-LABlab(27.59, 51.24, -42.75)
CIE-LCHlch(27.59, 66.73, 320.17°)
OKLaboklab(39.88% 0.1262 -0.1206)
OKLCHoklch(39.88% 0.175 316.3)
XYZxyz(10.3950, 5.3044, 22.3016)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1684 #308416
analogous
#331684 #6A1684 #841667
triadic
#6A1684 #846A16 #16846A
tetradic
#6A1684 #843316 #308416 #166784
square
#6A1684 #843316 #308416 #166784
split-complementary
#6A1684 #678416 #168433
monochromatic
#16051B #400D50 #6A1684 #941FB8 #B637DE

Accessibility & contrast

On white

10.19
#6A1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1684
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1684#FFFFFF#000000##FFFFFF
##6A16841.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#154382
Tritanopia (blue-blind)
#68314E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1684;
/* rgb */ color: rgb(106, 22, 132);
/* oklch */ color: oklch(39.9% 0.175 316.3);
Tailwind
colors: {
  custom: {
    50: '#995fa8',
    500: '#6a1684',
    950: '#000000',
  },
}
SCSS
$custom: #6a1684;
$custom-light: #995fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1684",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 285.818,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39881,
    "c": 0.17459,
    "h": 316.3
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#6A1684
secondary
#5AB83D
accent
#EE3A64
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A1684

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

Preview Lab → · Contrast checker → · Palette generator →

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