#6F186A#6F186A

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

Color values

HEX#6F186A
RGBrgb(111, 24, 106)
HSLhsl(303, 64%, 26%)
HSVhsv(303, 78%, 44%)
CMYKcmyk(0%, 78.4%, 4.5%, 56.5%)
CIE-LABlab(26.94, 46.80, -27.17)
CIE-LCHlch(26.94, 54.12, 329.86°)
OKLaboklab(39.04% 0.133 -0.075)
OKLCHoklch(39.04% 0.153 330.6)
XYZxyz(9.4837, 5.0741, 14.1128)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F186A #186F1D
analogous
#49186F #6F186A #6F183F
triadic
#6F186A #6A6F18 #186A6F
tetradic
#6F186A #6F4918 #186F1D #183F6F
square
#6F186A #6F4918 #186F1D #183F6F
split-complementary
#6F186A #3F6F18 #186F49
monochromatic
#190518 #3D0D3A #6F186A #A1239A #D22FC9

Accessibility & contrast

On white

10.42
#6F186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F186A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F186A#FFFFFF#000000##FFFFFF
##6F186A1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#334468
Tritanopia (blue-blind)
#742440
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f186a;
/* rgb */ color: rgb(111, 24, 106);
/* oklch */ color: oklch(39.0% 0.153 330.6);
Tailwind
colors: {
  custom: {
    50: '#9b6095',
    500: '#6f186a',
    950: '#000000',
  },
}
SCSS
$custom: #6f186a;
$custom-light: #9b6095;
$custom-dark: #000000;
JSON
{
  "hex": "#6f186a",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 303.448,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.15271,
    "h": 330.6
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#6F186A
secondary
#3EA544
accent
#E74A40
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F186A

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

Preview Lab → · Contrast checker → · Palette generator →

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