#6D1472#6D1472

#6D1472 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.162 H 325.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#6D1472
RGBrgb(109, 20, 114)
HSLhsl(297, 70%, 26%)
HSVhsv(297, 82%, 45%)
CMYKcmyk(4.4%, 82.5%, 0%, 55.3%)
CIE-LABlab(26.64, 49.01, -32.83)
CIE-LCHlch(26.64, 58.99, 326.18°)
OKLaboklab(38.92% 0.1341 -0.0914)
OKLCHoklch(38.92% 0.162 325.7)
XYZxyz(9.5939, 4.9671, 16.3698)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1472 #197214
analogous
#3E1472 #6D1472 #721448
triadic
#6D1472 #726D14 #14726D
tetradic
#6D1472 #723E14 #197214 #144872
square
#6D1472 #723E14 #197214 #144872
split-complementary
#6D1472 #487214 #14723E
monochromatic
#19051A #3B0B3E #6D1472 #9F1DA6 #D027D9

Accessibility & contrast

On white

10.54
#6D1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6D1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1472
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1472#FFFFFF#000000##FFFFFF
##6D14721.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#702643
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1472;
/* rgb */ color: rgb(109, 20, 114);
/* oklch */ color: oklch(38.9% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#9a5e9b',
    500: '#6d1472',
    950: '#000000',
  },
}
SCSS
$custom: #6d1472;
$custom-light: #9a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1472",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 296.809,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38916,
    "c": 0.16228,
    "h": 325.7
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#6D1472
secondary
#3FA839
accent
#ED3B44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1472

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

Preview Lab → · Contrast checker → · Palette generator →

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