#6D147F#6D147F

#6D147F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.173 H 319.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#6D147F
RGBrgb(109, 20, 127)
HSLhsl(290, 73%, 29%)
HSVhsv(290, 84%, 50%)
CMYKcmyk(14.2%, 84.3%, 0%, 50.2%)
CIE-LABlab(27.53, 51.42, -39.67)
CIE-LCHlch(27.53, 64.94, 322.35°)
OKLaboklab(39.83% 0.1325 -0.1114)
OKLCHoklch(39.83% 0.173 319.9)
XYZxyz(10.3871, 5.2844, 20.5474)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D147F #267F14
analogous
#38147F #6D147F #7F145C
triadic
#6D147F #7F6D14 #147F6D
tetradic
#6D147F #7F3814 #267F14 #145C7F
square
#6D147F #7F3814 #267F14 #145C7F
split-complementary
#6D147F #5C7F14 #147F38
monochromatic
#17041A #400C4A #6D147F #9A1CB4 #C12FDE

Accessibility & contrast

On white

10.21
#6D147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D147F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D147F#FFFFFF#000000##FFFFFF
##6D147F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#1F447D
Tritanopia (blue-blind)
#6D2D4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d147f;
/* rgb */ color: rgb(109, 20, 127);
/* oklch */ color: oklch(39.8% 0.173 319.9);
Tailwind
colors: {
  custom: {
    50: '#9b5fa5',
    500: '#6d147f',
    950: '#000000',
  },
}
SCSS
$custom: #6d147f;
$custom-light: #9b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d147f",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 289.907,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.17314,
    "h": 319.9
  },
  "luminance": 0.05284
}

Semantic roles & 50–950 ramp

primary
#6D147F
secondary
#4FB43B
accent
#EF3857
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D147F

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

Preview Lab → · Contrast checker → · Palette generator →

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