#6B186B#6B186B

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

Color values

HEX#6B186B
RGBrgb(107, 24, 107)
HSLhsl(300, 63%, 26%)
HSVhsv(300, 78%, 42%)
CMYKcmyk(0%, 77.6%, 0%, 58%)
CIE-LABlab(26.28, 46.03, -28.92)
CIE-LCHlch(26.28, 54.37, 327.86°)
OKLaboklab(38.45% 0.1285 -0.0802)
OKLCHoklch(38.45% 0.151 328)
XYZxyz(9.0438, 4.8413, 14.3652)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B186B #186B18
analogous
#41186B #6B186B #6B1841
triadic
#6B186B #6B6B18 #186B6B
tetradic
#6B186B #6B4118 #186B18 #18416B
square
#6B186B #6B4118 #186B18 #18416B
split-complementary
#6B186B #416B18 #186B41
monochromatic
#190619 #390D39 #6B186B #9D239D #CF2ECF

Accessibility & contrast

On white

10.67
#6B186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6B186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B186B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B186B#FFFFFF#000000##FFFFFF
##6B186B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376D
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#6F2540
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b186b;
/* rgb */ color: rgb(107, 24, 107);
/* oklch */ color: oklch(38.4% 0.151 328.0);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6b186b',
    950: '#000000',
  },
}
SCSS
$custom: #6b186b;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6b186b",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 300,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38446,
    "c": 0.15142,
    "h": 328
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#6B186B
secondary
#3EA13E
accent
#E64141
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B186B

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

Preview Lab → · Contrast checker → · Palette generator →

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