#6F186B#6F186B

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

Color values

HEX#6F186B
RGBrgb(111, 24, 107)
HSLhsl(303, 64%, 26%)
HSVhsv(303, 78%, 44%)
CMYKcmyk(0%, 78.4%, 3.6%, 56.5%)
CIE-LABlab(27.00, 46.97, -27.73)
CIE-LCHlch(27.00, 54.54, 329.45°)
OKLaboklab(39.1% 0.1331 -0.0766)
OKLCHoklch(39.1% 0.154 330.1)
XYZxyz(9.5360, 5.0951, 14.3883)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F186B #186F1C
analogous
#48186F #6F186B #6F1840
triadic
#6F186B #6B6F18 #186B6F
tetradic
#6F186B #6F4818 #186F1C #18406F
square
#6F186B #6F4818 #186F1C #18406F
split-complementary
#6F186B #406F18 #186F48
monochromatic
#190518 #3D0D3A #6F186B #A1239C #D22FCB

Accessibility & contrast

On white

10.40
#6F186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F186B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F186B#FFFFFF#000000##FFFFFF
##6F186B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C386D
Deuteranopia (green-blind)
#334469
Tritanopia (blue-blind)
#732440
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f186b;
/* rgb */ color: rgb(111, 24, 107);
/* oklch */ color: oklch(39.1% 0.154 330.1);
Tailwind
colors: {
  custom: {
    50: '#9b6096',
    500: '#6f186b',
    950: '#000000',
  },
}
SCSS
$custom: #6f186b;
$custom-light: #9b6096;
$custom-dark: #000000;
JSON
{
  "hex": "#6f186b",
  "rgb": {
    "r": 111,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 302.759,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.15351,
    "h": 330.1
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#6F186B
secondary
#3EA543
accent
#E74840
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050D
muted
#7E797E

Preview Lab

Preview with #6F186B

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

Preview Lab → · Contrast checker → · Palette generator →

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