#6D187D#6D187D

#6D187D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.168 H 320.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6D187D
RGBrgb(109, 24, 125)
HSLhsl(290, 68%, 29%)
HSVhsv(290, 81%, 49%)
CMYKcmyk(12.8%, 80.8%, 0%, 51%)
CIE-LABlab(27.81, 49.82, -37.96)
CIE-LCHlch(27.81, 62.64, 322.70°)
OKLaboklab(39.98% 0.1296 -0.1065)
OKLCHoklch(39.98% 0.168 320.6)
XYZxyz(10.3345, 5.3857, 19.8933)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D187D #287D18
analogous
#3B187D #6D187D #7D185B
triadic
#6D187D #7D6D18 #187D6D
tetradic
#6D187D #7D3B18 #287D18 #185B7D
square
#6D187D #7D3B18 #287D18 #185B7D
split-complementary
#6D187D #5B7D18 #187D3B
monochromatic
#16051A #400E4A #6D187D #9A22B0 #BF37D9

Accessibility & contrast

On white

10.11
#6D187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D187D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D187D#FFFFFF#000000##FFFFFF
##6D187D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#6E2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d187d;
/* rgb */ color: rgb(109, 24, 125);
/* oklch */ color: oklch(40.0% 0.168 320.6);
Tailwind
colors: {
  custom: {
    50: '#9a60a3',
    500: '#6d187d',
    950: '#000000',
  },
}
SCSS
$custom: #6d187d;
$custom-light: #9a60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d187d",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 290.495,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39977,
    "c": 0.16772,
    "h": 320.6
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#6D187D
secondary
#51B23F
accent
#EB3D59
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D187D

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

Preview Lab → · Contrast checker → · Palette generator →

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