#6B186A#6B186A

#6B186A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.151 H 328.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6B186A
RGBrgb(107, 24, 106)
HSLhsl(301, 63%, 26%)
HSVhsv(301, 78%, 42%)
CMYKcmyk(0%, 77.6%, 0.9%, 58%)
CIE-LABlab(26.22, 45.86, -28.37)
CIE-LCHlch(26.22, 53.93, 328.25°)
OKLaboklab(38.38% 0.1285 -0.0786)
OKLCHoklch(38.38% 0.151 328.6)
XYZxyz(8.9915, 4.8203, 14.0897)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B186A #186B19
analogous
#42186B #6B186A #6B1840
triadic
#6B186A #6A6B18 #186A6B
tetradic
#6B186A #6B4218 #186B19 #18406B
square
#6B186A #6B4218 #186B19 #18406B
split-complementary
#6B186A #406B18 #186B42
monochromatic
#190619 #390D38 #6B186A #9D239C #CF2ECD

Accessibility & contrast

On white

10.69
#6B186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B186A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B186A#FFFFFF#000000##FFFFFF
##6B186A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08376C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#6F2540
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b186a;
/* rgb */ color: rgb(107, 24, 106);
/* oklch */ color: oklch(38.4% 0.151 328.6);
Tailwind
colors: {
  custom: {
    50: '#985f95',
    500: '#6b186a',
    950: '#000000',
  },
}
SCSS
$custom: #6b186a;
$custom-light: #985f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6b186a",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 300.723,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.15058,
    "h": 328.6
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#6B186A
secondary
#3EA13F
accent
#E64341
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B186A

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

Preview Lab → · Contrast checker → · Palette generator →

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