#6E186C#6E186C

#6E186C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.154 H 329.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#6E186C
RGBrgb(110, 24, 108)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 43%)
CMYKcmyk(0%, 78.2%, 1.8%, 56.9%)
CIE-LABlab(26.88, 46.91, -28.58)
CIE-LCHlch(26.88, 54.93, 328.65°)
OKLaboklab(39% 0.1319 -0.0791)
OKLCHoklch(39% 0.154 329.1)
XYZxyz(9.4637, 5.0517, 14.6611)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E186C #186E1A
analogous
#45186E #6E186C #6E1841
triadic
#6E186C #6C6E18 #186C6E
tetradic
#6E186C #6E4518 #186E1A #18416E
square
#6E186C #6E4518 #186E1A #18416E
split-complementary
#6E186C #416E18 #186E45
monochromatic
#190519 #3C0D3B #6E186C #A0239D #D22FCE

Accessibility & contrast

On white

10.45
#6E186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6E186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E186C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E186C#FFFFFF#000000##FFFFFF
##6E186C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#31436A
Tritanopia (blue-blind)
#722541
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e186c;
/* rgb */ color: rgb(110, 24, 108);
/* oklch */ color: oklch(39.0% 0.154 329.1);
Tailwind
colors: {
  custom: {
    50: '#9b6096',
    500: '#6e186c',
    950: '#000000',
  },
}
SCSS
$custom: #6e186c;
$custom-light: #9b6096;
$custom-dark: #000000;
JSON
{
  "hex": "#6e186c",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 301.395,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.1538,
    "h": 329.1
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#6E186C
secondary
#3EA441
accent
#E74441
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E186C

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

Preview Lab → · Contrast checker → · Palette generator →

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