#6A147D#6A147D

#6A147D is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.170 H 319.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#6A147D
RGBrgb(106, 20, 125)
HSLhsl(289, 72%, 28%)
HSVhsv(289, 84%, 49%)
CMYKcmyk(15.2%, 84%, 0%, 51%)
CIE-LABlab(26.86, 50.45, -39.50)
CIE-LCHlch(26.86, 64.08, 321.94°)
OKLaboklab(39.21% 0.1291 -0.1111)
OKLCHoklch(39.21% 0.17 319.3)
XYZxyz(9.8952, 5.0457, 19.8508)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A147D #277D14
analogous
#35147D #6A147D #7D145B
triadic
#6A147D #7D6A14 #147D6A
tetradic
#6A147D #7D3514 #277D14 #145B7D
square
#6A147D #7D3514 #277D14 #145B7D
split-complementary
#6A147D #5B7D14 #147D35
monochromatic
#16041A #3D0C48 #6A147D #971CB2 #BE2EDE

Accessibility & contrast

On white

10.45
#6A147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A147D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A147D#FFFFFF#000000##FFFFFF
##6A147D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#1D427B
Tritanopia (blue-blind)
#6A2C4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a147d;
/* rgb */ color: rgb(106, 20, 125);
/* oklch */ color: oklch(39.2% 0.170 319.3);
Tailwind
colors: {
  custom: {
    50: '#985ea3',
    500: '#6a147d',
    950: '#000000',
  },
}
SCSS
$custom: #6a147d;
$custom-light: #985ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a147d",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 289.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39212,
    "c": 0.17027,
    "h": 319.3
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#6A147D
secondary
#50B23A
accent
#EF395A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A147D

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

Preview Lab → · Contrast checker → · Palette generator →

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