#6E1684#6E1684

#6E1684 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.176 H 318.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6E1684
RGBrgb(110, 22, 132)
HSLhsl(288, 71%, 30%)
HSVhsv(288, 83%, 52%)
CMYKcmyk(16.7%, 83.3%, 0%, 48.2%)
CIE-LABlab(28.26, 52.00, -41.62)
CIE-LCHlch(28.26, 66.61, 321.33°)
OKLaboklab(40.49% 0.1314 -0.1172)
OKLCHoklch(40.49% 0.176 318.3)
XYZxyz(10.8816, 5.5553, 22.3244)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1684 #2C8416
analogous
#371684 #6E1684 #841663
triadic
#6E1684 #846E16 #16846E
tetradic
#6E1684 #843716 #2C8416 #166384
square
#6E1684 #843716 #2C8416 #166384
split-complementary
#6E1684 #638416 #168437
monochromatic
#17051B #420D50 #6E1684 #9A1FB8 #BC37DE

Accessibility & contrast

On white

9.95
#6E1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1684
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1684#FFFFFF#000000##FFFFFF
##6E16841.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#1C4582
Tritanopia (blue-blind)
#6D304E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1684;
/* rgb */ color: rgb(110, 22, 132);
/* oklch */ color: oklch(40.5% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#9c60a8',
    500: '#6e1684',
    950: '#000000',
  },
}
SCSS
$custom: #6e1684;
$custom-light: #9c60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1684",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 288,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.17607,
    "h": 318.3
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#6E1684
secondary
#56B83D
accent
#EE3A5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1684

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

Preview Lab → · Contrast checker → · Palette generator →

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