#6E168D#6E168D

#6E168D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.2% C 0.184 H 314.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6E168D
RGBrgb(110, 22, 141)
HSLhsl(284, 73%, 32%)
HSVhsv(284, 84%, 55%)
CMYKcmyk(22%, 84.4%, 0%, 44.7%)
CIE-LABlab(28.93, 53.79, -46.14)
CIE-LCHlch(28.93, 70.87, 319.38°)
OKLaboklab(41.17% 0.1296 -0.1304)
OKLCHoklch(41.17% 0.184 314.8)
XYZxyz(11.5242, 5.8123, 25.7090)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E168D #358D16
analogous
#33168D #6E168D #8D1671
triadic
#6E168D #8D6E16 #168D6E
tetradic
#6E168D #8D3316 #358D16 #16718D
square
#6E168D #8D3316 #358D16 #16718D
split-complementary
#6E168D #718D16 #168D33
monochromatic
#1B0523 #450E58 #6E168D #971EC2 #B63DE1

Accessibility & contrast

On white

9.71
#6E168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E168D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E168D#FFFFFF#000000##FFFFFF
##6E168D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#0B468B
Tritanopia (blue-blind)
#6B3453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e168d;
/* rgb */ color: rgb(110, 22, 141);
/* oklch */ color: oklch(41.2% 0.184 314.8);
Tailwind
colors: {
  custom: {
    50: '#9c61af',
    500: '#6e168d',
    950: '#000000',
  },
}
SCSS
$custom: #6e168d;
$custom-light: #9c61af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e168d",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 284.37,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41173,
    "c": 0.18388,
    "h": 314.8
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#6E168D
secondary
#60C13E
accent
#F03868
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E168D

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

Preview Lab → · Contrast checker → · Palette generator →

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