#6C186E#6C186E

#6C186E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.154 H 327.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6C186E
RGBrgb(108, 24, 110)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 43%)
CMYKcmyk(1.8%, 78.2%, 0%, 56.9%)
CIE-LABlab(26.64, 46.80, -30.27)
CIE-LCHlch(26.64, 55.74, 327.11°)
OKLaboklab(38.8% 0.1296 -0.084)
OKLCHoklch(38.8% 0.154 327)
XYZxyz(9.3253, 4.9679, 15.2166)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C186E #1A6E18
analogous
#41186E #6C186E #6E1845
triadic
#6C186E #6E6C18 #186E6C
tetradic
#6C186E #6E4118 #1A6E18 #18456E
square
#6C186E #6E4118 #1A6E18 #18456E
split-complementary
#6C186E #456E18 #186E41
monochromatic
#190519 #3B0D3C #6C186E #9D23A0 #CE2FD2

Accessibility & contrast

On white

10.53
#6C186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C186E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C186E#FFFFFF#000000##FFFFFF
##6C186E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023870
Deuteranopia (green-blind)
#2E436C
Tritanopia (blue-blind)
#6F2642
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c186e;
/* rgb */ color: rgb(108, 24, 110);
/* oklch */ color: oklch(38.8% 0.154 327.0);
Tailwind
colors: {
  custom: {
    50: '#995f98',
    500: '#6c186e',
    950: '#000000',
  },
}
SCSS
$custom: #6c186e;
$custom-light: #995f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6c186e",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 298.605,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38801,
    "c": 0.15443,
    "h": 327
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#6C186E
secondary
#41A43E
accent
#E74144
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C186E

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

Preview Lab → · Contrast checker → · Palette generator →

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