#6D186E#6D186E

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

Color values

HEX#6D186E
RGBrgb(109, 24, 110)
HSLhsl(299, 64%, 26%)
HSVhsv(299, 78%, 43%)
CMYKcmyk(0.9%, 78.2%, 0%, 56.9%)
CIE-LABlab(26.82, 47.03, -29.97)
CIE-LCHlch(26.82, 55.77, 327.50°)
OKLaboklab(38.96% 0.1307 -0.0831)
OKLCHoklch(38.96% 0.155 327.5)
XYZxyz(9.4476, 5.0309, 15.2223)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D186E #196E18
analogous
#42186E #6D186E #6E1844
triadic
#6D186E #6E6D18 #186E6D
tetradic
#6D186E #6E4218 #196E18 #18446E
square
#6D186E #6E4218 #196E18 #18446E
split-complementary
#6D186E #446E18 #186E42
monochromatic
#190519 #3B0D3C #6D186E #9F23A0 #D02FD2

Accessibility & contrast

On white

10.47
#6D186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6D186E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D186E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D186E#FFFFFF#000000##FFFFFF
##6D186E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033870
Deuteranopia (green-blind)
#2F436C
Tritanopia (blue-blind)
#702642
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d186e;
/* rgb */ color: rgb(109, 24, 110);
/* oklch */ color: oklch(39.0% 0.155 327.5);
Tailwind
colors: {
  custom: {
    50: '#9a6098',
    500: '#6d186e',
    950: '#000000',
  },
}
SCSS
$custom: #6d186e;
$custom-light: #9a6098;
$custom-dark: #000000;
JSON
{
  "hex": "#6d186e",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 299.302,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.15494,
    "h": 327.5
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D186E

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

Preview Lab → · Contrast checker → · Palette generator →

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