#6A186C#6A186C

#6A186C is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.152 H 327.0°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6A186C
RGBrgb(106, 24, 108)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 42%)
CMYKcmyk(1.9%, 77.8%, 0%, 57.6%)
CIE-LABlab(26.16, 45.98, -29.77)
CIE-LCHlch(26.16, 54.78, 327.08°)
OKLaboklab(38.35% 0.1273 -0.0826)
OKLCHoklch(38.35% 0.152 327)
XYZxyz(8.9771, 4.8008, 14.6383)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A186C #1A6C18
analogous
#40186C #6A186C #6C1844
triadic
#6A186C #6C6A18 #186C6A
tetradic
#6A186C #6C4018 #1A6C18 #18446C
square
#6A186C #6C4018 #1A6C18 #18446C
split-complementary
#6A186C #446C18 #186C40
monochromatic
#190619 #390D3A #6A186C #9B239E #CC2ED0

Accessibility & contrast

On white

10.71
#6A186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A186C
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A186C#FFFFFF#000000##FFFFFF
##6A186C1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#6D2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a186c;
/* rgb */ color: rgb(106, 24, 108);
/* oklch */ color: oklch(38.3% 0.152 327.0);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6a186c',
    950: '#000000',
  },
}
SCSS
$custom: #6a186c;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a186c",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 298.571,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.15174,
    "h": 327
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#6A186C
secondary
#40A23E
accent
#E74145
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A186C

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

Preview Lab → · Contrast checker → · Palette generator →

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