#6B147F#6B147F

#6B147F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 318.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6B147F
RGBrgb(107, 20, 127)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 50%)
CMYKcmyk(15.7%, 84.3%, 0%, 50.2%)
CIE-LABlab(27.18, 51.04, -40.24)
CIE-LCHlch(27.18, 64.99, 321.74°)
OKLaboklab(39.52% 0.13 -0.1132)
OKLCHoklch(39.52% 0.172 318.9)
XYZxyz(10.1438, 5.1589, 20.5360)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B147F #287F14
analogous
#36147F #6B147F #7F145E
triadic
#6B147F #7F6B14 #147F6B
tetradic
#6B147F #7F3614 #287F14 #145E7F
square
#6B147F #7F3614 #287F14 #145E7F
split-complementary
#6B147F #5E7F14 #147F36
monochromatic
#16041A #3E0C4A #6B147F #981CB4 #BE2FDE

Accessibility & contrast

On white

10.34
#6B147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B147F
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B147F#FFFFFF#000000##FFFFFF
##6B147F1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#1C437D
Tritanopia (blue-blind)
#6B2D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b147f;
/* rgb */ color: rgb(107, 20, 127);
/* oklch */ color: oklch(39.5% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#995fa5',
    500: '#6b147f',
    950: '#000000',
  },
}
SCSS
$custom: #6b147f;
$custom-light: #995fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b147f",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 288.785,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.17237,
    "h": 318.9
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#6B147F
secondary
#51B43B
accent
#EF385B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B147F

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

Preview Lab → · Contrast checker → · Palette generator →

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