#6E1668#6E1668

#6E1668 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.153 H 331.1°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#6E1668
RGBrgb(110, 22, 104)
HSLhsl(304, 67%, 26%)
HSVhsv(304, 80%, 43%)
CMYKcmyk(0%, 80%, 5.5%, 56.9%)
CIE-LABlab(26.42, 46.88, -26.73)
CIE-LCHlch(26.42, 53.96, 330.31°)
OKLaboklab(38.59% 0.1338 -0.0737)
OKLCHoklch(38.59% 0.153 331.1)
XYZxyz(9.2160, 4.8890, 13.5523)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1668 #166E1C
analogous
#48166E #6E1668 #6E163C
triadic
#6E1668 #686E16 #16686E
tetradic
#6E1668 #6E4816 #166E1C #163C6E
square
#6E1668 #6E4816 #166E1C #163C6E
split-complementary
#6E1668 #3C6E16 #166E48
monochromatic
#1A0518 #3B0C38 #6E1668 #A12098 #D42AC8

Accessibility & contrast

On white

10.62
#6E1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1668
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1668#FFFFFF#000000##FFFFFF
##6E16681.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#334366
Tritanopia (blue-blind)
#73223E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6e1668;
/* rgb */ color: rgb(110, 22, 104);
/* oklch */ color: oklch(38.6% 0.153 331.1);
Tailwind
colors: {
  custom: {
    50: '#9b5f93',
    500: '#6e1668',
    950: '#000000',
  },
}
SCSS
$custom: #6e1668;
$custom-light: #9b5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1668",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 304.091,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38591,
    "c": 0.15272,
    "h": 331.1
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#6E1668
secondary
#3CA443
accent
#EA4A3E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E1668

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

Preview Lab → · Contrast checker → · Palette generator →

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