#6D1872#6D1872

#6D1872 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.158 H 325.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6D1872
RGBrgb(109, 24, 114)
HSLhsl(297, 65%, 27%)
HSVhsv(297, 79%, 45%)
CMYKcmyk(4.4%, 78.9%, 0%, 55.3%)
CIE-LABlab(27.07, 47.76, -32.14)
CIE-LCHlch(27.07, 57.56, 326.06°)
OKLaboklab(39.22% 0.1306 -0.0895)
OKLCHoklch(39.22% 0.158 325.6)
XYZxyz(9.6704, 5.1200, 16.3952)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1872 #1D7218
analogous
#401872 #6D1872 #72184A
triadic
#6D1872 #726D18 #18726D
tetradic
#6D1872 #724018 #1D7218 #184A72
square
#6D1872 #724018 #1D7218 #184A72
split-complementary
#6D1872 #4A7218 #187240
monochromatic
#180519 #3D0D3F #6D1872 #9D23A5 #CB31D4

Accessibility & contrast

On white

10.38
#6D1872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6D1872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1872
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1872#FFFFFF#000000##FFFFFF
##6D18721.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#702844
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6d1872;
/* rgb */ color: rgb(109, 24, 114);
/* oklch */ color: oklch(39.2% 0.158 325.6);
Tailwind
colors: {
  custom: {
    50: '#9a609b',
    500: '#6d1872',
    950: '#000000',
  },
}
SCSS
$custom: #6d1872;
$custom-light: #9a609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1872",
  "rgb": {
    "r": 109,
    "g": 24,
    "b": 114
  },
  "hsl": {
    "h": 296.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.15829,
    "h": 325.6
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#6D1872
secondary
#44A73E
accent
#E84049
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1872

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

Preview Lab → · Contrast checker → · Palette generator →

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