#6E168F#6E168F

#6E168F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.186 H 314.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#6E168F
RGBrgb(110, 22, 143)
HSLhsl(284, 73%, 32%)
HSVhsv(284, 85%, 56%)
CMYKcmyk(23.1%, 84.6%, 0%, 43.9%)
CIE-LABlab(29.09, 54.20, -47.13)
CIE-LCHlch(29.09, 71.82, 318.99°)
OKLaboklab(41.33% 0.1291 -0.1333)
OKLCHoklch(41.33% 0.186 314.1)
XYZxyz(11.6744, 5.8724, 26.4998)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E168F #378F16
analogous
#31168F #6E168F #8F1674
triadic
#6E168F #8F6E16 #168F6E
tetradic
#6E168F #8F3116 #378F16 #16748F
square
#6E168F #8F3116 #378F16 #16748F
split-complementary
#6E168F #748F16 #168F31
monochromatic
#1C0625 #450E5A #6E168F #971EC4 #B53EE1

Accessibility & contrast

On white

9.66
#6E168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E168F
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E168F#FFFFFF#000000##FFFFFF
##6E168F1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#05468D
Tritanopia (blue-blind)
#6B3555
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e168f;
/* rgb */ color: rgb(110, 22, 143);
/* oklch */ color: oklch(41.3% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c61b1',
    500: '#6e168f',
    950: '#000000',
  },
}
SCSS
$custom: #6e168f;
$custom-light: #9c61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e168f",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 283.636,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41329,
    "c": 0.18564,
    "h": 314.1
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#6E168F
secondary
#63C13F
accent
#F0386A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0511
muted
#7F7A80

Preview Lab

Preview with #6E168F

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

Preview Lab → · Contrast checker → · Palette generator →

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