#6E168E#6E168E

#6E168E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.3% C 0.185 H 314.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6E168E
RGBrgb(110, 22, 142)
HSLhsl(284, 73%, 32%)
HSVhsv(284, 85%, 56%)
CMYKcmyk(22.5%, 84.5%, 0%, 44.3%)
CIE-LABlab(29.01, 53.99, -46.64)
CIE-LCHlch(29.01, 71.35, 319.18°)
OKLaboklab(41.25% 0.1294 -0.1319)
OKLCHoklch(41.25% 0.185 314.4)
XYZxyz(11.5990, 5.8422, 26.1026)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E168E #368E16
analogous
#32168E #6E168E #8E1672
triadic
#6E168E #8E6E16 #168E6E
tetradic
#6E168E #8E3216 #368E16 #16728E
square
#6E168E #8E3216 #368E16 #16728E
split-complementary
#6E168E #728E16 #168E32
monochromatic
#1C0624 #450E59 #6E168E #971EC3 #B53DE1

Accessibility & contrast

On white

9.68
#6E168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E168E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E168E#FFFFFF#000000##FFFFFF
##6E168E1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#6B3554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e168e;
/* rgb */ color: rgb(110, 22, 142);
/* oklch */ color: oklch(41.3% 0.185 314.4);
Tailwind
colors: {
  custom: {
    50: '#9c61b0',
    500: '#6e168e',
    950: '#000000',
  },
}
SCSS
$custom: #6e168e;
$custom-light: #9c61b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e168e",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 284,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41251,
    "c": 0.18476,
    "h": 314.4
  },
  "luminance": 0.05842
}

Semantic roles & 50–950 ramp

primary
#6E168E
secondary
#62C13F
accent
#F03869
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E168E

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

Preview Lab → · Contrast checker → · Palette generator →

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