#6B147E#6B147E

#6B147E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.172 H 319.4°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#6B147E
RGBrgb(107, 20, 126)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 49%)
CMYKcmyk(15.1%, 84.1%, 0%, 50.6%)
CIE-LABlab(27.11, 50.84, -39.73)
CIE-LCHlch(27.11, 64.52, 322.00°)
OKLaboklab(39.44% 0.1301 -0.1117)
OKLCHoklch(39.44% 0.172 319.4)
XYZxyz(10.0790, 5.1330, 20.1945)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B147E #277E14
analogous
#36147E #6B147E #7E145C
triadic
#6B147E #7E6B14 #147E6B
tetradic
#6B147E #7E3614 #277E14 #145C7E
square
#6B147E #7E3614 #277E14 #145C7E
split-complementary
#6B147E #5C7E14 #147E36
monochromatic
#16041A #3E0C49 #6B147E #981CB3 #BE2EDE

Accessibility & contrast

On white

10.36
#6B147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B147E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B147E#FFFFFF#000000##FFFFFF
##6B147E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#6B2D4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b147e;
/* rgb */ color: rgb(107, 20, 126);
/* oklch */ color: oklch(39.4% 0.172 319.4);
Tailwind
colors: {
  custom: {
    50: '#995fa4',
    500: '#6b147e',
    950: '#000000',
  },
}
SCSS
$custom: #6b147e;
$custom-light: #995fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b147e",
  "rgb": {
    "r": 107,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 289.245,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39441,
    "c": 0.17151,
    "h": 319.4
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B147E

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

Preview Lab → · Contrast checker → · Palette generator →

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