#6D187C#6D187C

#6D187C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.167 H 321.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#6D187C
RGBrgb(109, 24, 124)
HSLhsl(291, 68%, 29%)
HSVhsv(291, 81%, 49%)
CMYKcmyk(12.1%, 80.6%, 0%, 51.4%)
CIE-LABlab(27.74, 49.63, -37.44)
CIE-LCHlch(27.74, 62.17, 322.97°)
OKLaboklab(39.91% 0.1297 -0.1049)
OKLCHoklch(39.91% 0.167 321)
XYZxyz(10.2710, 5.3603, 19.5585)
Luminance0.0536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187C #277C18
analogous
#3B187C #6D187C #7C1859
triadic
#6D187C #7C6D18 #187C6D
tetradic
#6D187C #7C3B18 #277C18 #18597C
square
#6D187C #7C3B18 #277C18 #18597C
split-complementary
#6D187C #597C18 #187C3B
monochromatic
#17051A #400E49 #6D187C #9A22AF #C036D8

Accessibility & contrast

On white

10.14
#6D187C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D187C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D187C
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D187C#FFFFFF#000000##FFFFFF
##6D187C1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#25447A
Tritanopia (blue-blind)
#6E2D4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d187c;
/* rgb */ color: rgb(109, 24, 124);
/* oklch */ color: oklch(39.9% 0.167 321.0);
Tailwind
colors: {
  custom: {
    50: '#9a60a2',
    500: '#6d187c',
    950: '#000000',
  },
}
SCSS
$custom: #6d187c;
$custom-light: #9a60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187c",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 124
  },
  "hsl": {
    "h": 291,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.16686,
    "h": 321
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#6D187C
secondary
#50B13F
accent
#EA3D57
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D187C

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

Preview Lab → · Contrast checker → · Palette generator →

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