#6F186D#6F186D

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

Color values

HEX#6F186D
RGBrgb(111, 24, 109)
HSLhsl(301, 64%, 26%)
HSVhsv(301, 78%, 44%)
CMYKcmyk(0%, 78.4%, 1.8%, 56.5%)
CIE-LABlab(27.12, 47.32, -28.83)
CIE-LCHlch(27.12, 55.41, 328.65°)
OKLaboklab(39.23% 0.1331 -0.0798)
OKLCHoklch(39.23% 0.155 329.1)
XYZxyz(9.6424, 5.1376, 14.9488)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F186D #186F1A
analogous
#46186F #6F186D #6F1842
triadic
#6F186D #6D6F18 #186D6F
tetradic
#6F186D #6F4618 #186F1A #18426F
square
#6F186D #6F4618 #186F1A #18426F
split-complementary
#6F186D #426F18 #186F46
monochromatic
#190519 #3D0D3C #6F186D #A1239E #D22FCE

Accessibility & contrast

On white

10.36
#6F186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F186D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F186D#FFFFFF#000000##FFFFFF
##6F186D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08396F
Deuteranopia (green-blind)
#32446B
Tritanopia (blue-blind)
#732541
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f186d;
/* rgb */ color: rgb(111, 24, 109);
/* oklch */ color: oklch(39.2% 0.155 329.1);
Tailwind
colors: {
  custom: {
    50: '#9c6097',
    500: '#6f186d',
    950: '#000000',
  },
}
SCSS
$custom: #6f186d;
$custom-light: #9c6097;
$custom-dark: #000000;
JSON
{
  "hex": "#6f186d",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 301.379,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39228,
    "c": 0.15513,
    "h": 329.1
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#6F186D
secondary
#3EA541
accent
#E74440
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F186D

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

Preview Lab → · Contrast checker → · Palette generator →

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