#6E186F#6E186F

#6E186F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.156 H 327.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6E186F
RGBrgb(110, 24, 111)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 44%)
CMYKcmyk(0.9%, 78.4%, 0%, 56.5%)
CIE-LABlab(27.06, 47.44, -30.22)
CIE-LCHlch(27.06, 56.25, 327.51°)
OKLaboklab(39.19% 0.1319 -0.0838)
OKLCHoklch(39.19% 0.156 327.6)
XYZxyz(9.6261, 5.1167, 15.5165)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E186F #196F18
analogous
#43186F #6E186F #6F1845
triadic
#6E186F #6F6E18 #186F6E
tetradic
#6E186F #6F4318 #196F18 #18456F
square
#6E186F #6F4318 #196F18 #18456F
split-complementary
#6E186F #456F18 #186F43
monochromatic
#190519 #3C0D3D #6E186F #A023A1 #D02FD2

Accessibility & contrast

On white

10.38
#6E186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6E186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E186F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E186F#FFFFFF#000000##FFFFFF
##6E186F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#2F446D
Tritanopia (blue-blind)
#712643
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e186f;
/* rgb */ color: rgb(110, 24, 111);
/* oklch */ color: oklch(39.2% 0.156 327.6);
Tailwind
colors: {
  custom: {
    50: '#9b6099',
    500: '#6e186f',
    950: '#000000',
  },
}
SCSS
$custom: #6e186f;
$custom-light: #9b6099;
$custom-dark: #000000;
JSON
{
  "hex": "#6e186f",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 299.31,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39191,
    "c": 0.15627,
    "h": 327.6
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#6E186F
secondary
#3FA53E
accent
#E74042
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E186F

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

Preview Lab → · Contrast checker → · Palette generator →

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