#6D187A#6D187A

#6D187A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.165 H 321.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6D187A
RGBrgb(109, 24, 122)
HSLhsl(292, 67%, 29%)
HSVhsv(292, 80%, 48%)
CMYKcmyk(10.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(27.60, 49.25, -36.39)
CIE-LCHlch(27.60, 61.24, 323.54°)
OKLaboklab(39.77% 0.1299 -0.1019)
OKLCHoklch(39.77% 0.165 321.9)
XYZxyz(10.1458, 5.3102, 18.8991)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187A #257A18
analogous
#3C187A #6D187A #7A1856
triadic
#6D187A #7A6D18 #187A6D
tetradic
#6D187A #7A3C18 #257A18 #18567A
square
#6D187A #7A3C18 #257A18 #18567A
split-complementary
#6D187A #567A18 #187A3C
monochromatic
#17051A #3F0E47 #6D187A #9B22AD #C235D7

Accessibility & contrast

On white

10.18
#6D187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D187A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D187A#FFFFFF#000000##FFFFFF
##6D187A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#264478
Tritanopia (blue-blind)
#6E2C49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d187a;
/* rgb */ color: rgb(109, 24, 122);
/* oklch */ color: oklch(39.8% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a1',
    500: '#6d187a',
    950: '#000000',
  },
}
SCSS
$custom: #6d187a;
$custom-light: #9a60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187a",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 292.041,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.16512,
    "h": 321.9
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#6D187A
secondary
#4EAF3F
accent
#EA3E55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6D187A

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

Preview Lab → · Contrast checker → · Palette generator →

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