#6B186C#6B186C

#6B186C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.152 H 327.5°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#6B186C
RGBrgb(107, 24, 108)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 42%)
CMYKcmyk(0.9%, 77.8%, 0%, 57.6%)
CIE-LABlab(26.34, 46.21, -29.47)
CIE-LCHlch(26.34, 54.81, 327.47°)
OKLaboklab(38.51% 0.1284 -0.0817)
OKLCHoklch(38.51% 0.152 327.5)
XYZxyz(9.0967, 4.8624, 14.6439)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B186C #196C18
analogous
#41186C #6B186C #6C1843
triadic
#6B186C #6C6B18 #186C6B
tetradic
#6B186C #6C4118 #196C18 #18436C
square
#6B186C #6C4118 #196C18 #18436C
split-complementary
#6B186C #436C18 #186C41
monochromatic
#190619 #390D3A #6B186C #9D239E #CE2ED0

Accessibility & contrast

On white

10.65
#6B186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B186C
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B186C#FFFFFF#000000##FFFFFF
##6B186C1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04386E
Deuteranopia (green-blind)
#2E426A
Tritanopia (blue-blind)
#6E2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b186c;
/* rgb */ color: rgb(107, 24, 108);
/* oklch */ color: oklch(38.5% 0.152 327.5);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6b186c',
    950: '#000000',
  },
}
SCSS
$custom: #6b186c;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6b186c",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 299.286,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.15225,
    "h": 327.5
  },
  "luminance": 0.04862
}

Semantic roles & 50–950 ramp

primary
#6B186C
secondary
#3FA23E
accent
#E74143
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B186C

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

Preview Lab → · Contrast checker → · Palette generator →

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