#6D1972#6D1972

#6D1972 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.3% C 0.157 H 325.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#6D1972
RGBrgb(109, 25, 114)
HSLhsl(297, 64%, 27%)
HSVhsv(297, 78%, 45%)
CMYKcmyk(4.4%, 78.1%, 0%, 55.3%)
CIE-LABlab(27.19, 47.42, -31.95)
CIE-LCHlch(27.19, 57.18, 326.03°)
OKLaboklab(39.31% 0.1296 -0.0889)
OKLCHoklch(39.31% 0.157 325.6)
XYZxyz(9.6914, 5.1620, 16.4022)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1972 #1E7219
analogous
#401972 #6D1972 #72194B
triadic
#6D1972 #726D19 #19726D
tetradic
#6D1972 #724019 #1E7219 #194B72
square
#6D1972 #724019 #1E7219 #194B72
split-complementary
#6D1972 #4B7219 #197240
monochromatic
#180619 #3D0E40 #6D1972 #9D24A4 #C933D2

Accessibility & contrast

On white

10.33
#6D1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6D1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1972
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1972#FFFFFF#000000##FFFFFF
##6D19721.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#2D4470
Tritanopia (blue-blind)
#702944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6d1972;
/* rgb */ color: rgb(109, 25, 114);
/* oklch */ color: oklch(39.3% 0.157 325.6);
Tailwind
colors: {
  custom: {
    50: '#9a609b',
    500: '#6d1972',
    950: '#000000',
  },
}
SCSS
$custom: #6d1972;
$custom-light: #9a609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1972",
  "rgb": {
    "r": 109,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 296.629,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.15721,
    "h": 325.6
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#6D1972
secondary
#45A740
accent
#E7414A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1972

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

Preview Lab → · Contrast checker → · Palette generator →

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