#6D147D#6D147D

#6D147D is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.171 H 320.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#6D147D
RGBrgb(109, 20, 125)
HSLhsl(291, 72%, 28%)
HSVhsv(291, 84%, 49%)
CMYKcmyk(12.8%, 84%, 0%, 51%)
CIE-LABlab(27.39, 51.04, -38.63)
CIE-LCHlch(27.39, 64.01, 322.88°)
OKLaboklab(39.68% 0.1328 -0.1084)
OKLCHoklch(39.68% 0.171 320.8)
XYZxyz(10.2581, 5.2328, 19.8678)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D147D #247D14
analogous
#38147D #6D147D #7D1458
triadic
#6D147D #7D6D14 #147D6D
tetradic
#6D147D #7D3814 #247D14 #14587D
square
#6D147D #7D3814 #247D14 #14587D
split-complementary
#6D147D #587D14 #147D38
monochromatic
#17041A #3F0C48 #6D147D #9B1CB2 #C32EDE

Accessibility & contrast

On white

10.26
#6D147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D147D
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D147D#FFFFFF#000000##FFFFFF
##6D147D1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#21447B
Tritanopia (blue-blind)
#6E2C4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d147d;
/* rgb */ color: rgb(109, 20, 125);
/* oklch */ color: oklch(39.7% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#9b5fa3',
    500: '#6d147d',
    950: '#000000',
  },
}
SCSS
$custom: #6d147d;
$custom-light: #9b5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d147d",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 290.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.17145,
    "h": 320.8
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#6D147D
secondary
#4DB23A
accent
#EF3954
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6D147D

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

Preview Lab → · Contrast checker → · Palette generator →

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