#6C186F#6C186F

#6C186F is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.155 H 326.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#6C186F
RGBrgb(108, 24, 111)
HSLhsl(298, 64%, 26%)
HSVhsv(298, 78%, 44%)
CMYKcmyk(2.7%, 78.4%, 0%, 56.5%)
CIE-LABlab(26.71, 46.98, -30.81)
CIE-LCHlch(26.71, 56.18, 326.75°)
OKLaboklab(38.87% 0.1295 -0.0856)
OKLCHoklch(38.87% 0.155 326.5)
XYZxyz(9.3800, 4.9898, 15.5049)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186F #1B6F18
analogous
#41186F #6C186F #6F1847
triadic
#6C186F #6F6C18 #186F6C
tetradic
#6C186F #6F4118 #1B6F18 #18476F
square
#6C186F #6F4118 #1B6F18 #18476F
split-complementary
#6C186F #476F18 #186F41
monochromatic
#180519 #3B0D3D #6C186F #9D23A1 #CC2FD2

Accessibility & contrast

On white

10.51
#6C186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C186F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186F#FFFFFF#000000##FFFFFF
##6C186F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2D436D
Tritanopia (blue-blind)
#6F2743
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c186f;
/* rgb */ color: rgb(108, 24, 111);
/* oklch */ color: oklch(38.9% 0.155 326.5);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6c186f',
    950: '#000000',
  },
}
SCSS
$custom: #6c186f;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186f",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 297.931,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38865,
    "c": 0.15527,
    "h": 326.5
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#6C186F
secondary
#42A53E
accent
#E74046
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C186F

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

Preview Lab → · Contrast checker → · Palette generator →

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