#6C147F#6C147F

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

Color values

HEX#6C147F
RGBrgb(108, 20, 127)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 50%)
CMYKcmyk(15%, 84.3%, 0%, 50.2%)
CIE-LABlab(27.36, 51.23, -39.95)
CIE-LCHlch(27.36, 64.97, 322.05°)
OKLaboklab(39.67% 0.1313 -0.1123)
OKLCHoklch(39.67% 0.173 319.4)
XYZxyz(10.2648, 5.2213, 20.5417)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C147F #277F14
analogous
#37147F #6C147F #7F145D
triadic
#6C147F #7F6C14 #147F6C
tetradic
#6C147F #7F3714 #277F14 #145D7F
square
#6C147F #7F3714 #277F14 #145D7F
split-complementary
#6C147F #5D7F14 #147F37
monochromatic
#16041A #3F0C4A #6C147F #991CB4 #BF2FDE

Accessibility & contrast

On white

10.27
#6C147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C147F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C147F#FFFFFF#000000##FFFFFF
##6C147F1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c147f;
/* rgb */ color: rgb(108, 20, 127);
/* oklch */ color: oklch(39.7% 0.173 319.4);
Tailwind
colors: {
  custom: {
    50: '#9a5fa5',
    500: '#6c147f',
    950: '#000000',
  },
}
SCSS
$custom: #6c147f;
$custom-light: #9a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c147f",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 289.346,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39671,
    "c": 0.17276,
    "h": 319.4
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#6C147F
secondary
#50B43B
accent
#EF3859
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C147F

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

Preview Lab → · Contrast checker → · Palette generator →

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