#6A147C#6A147C

#6A147C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.169 H 319.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#6A147C
RGBrgb(106, 20, 124)
HSLhsl(290, 72%, 28%)
HSVhsv(290, 84%, 49%)
CMYKcmyk(14.5%, 83.9%, 0%, 51.4%)
CIE-LABlab(26.79, 50.26, -38.99)
CIE-LCHlch(26.79, 63.61, 322.20°)
OKLaboklab(39.14% 0.1292 -0.1096)
OKLCHoklch(39.14% 0.169 319.7)
XYZxyz(9.8316, 5.0202, 19.5160)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A147C #267C14
analogous
#36147C #6A147C #7C145A
triadic
#6A147C #7C6A14 #147C6A
tetradic
#6A147C #7C3614 #267C14 #145A7C
square
#6A147C #7C3614 #267C14 #145A7C
split-complementary
#6A147C #5A7C14 #147C36
monochromatic
#17041A #3D0B47 #6A147C #971DB1 #BF2DDD

Accessibility & contrast

On white

10.48
#6A147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6A147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A147C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A147C#FFFFFF#000000##FFFFFF
##6A147C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#1E427A
Tritanopia (blue-blind)
#6A2C49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a147c;
/* rgb */ color: rgb(106, 20, 124);
/* oklch */ color: oklch(39.1% 0.169 319.7);
Tailwind
colors: {
  custom: {
    50: '#985ea2',
    500: '#6a147c',
    950: '#000000',
  },
}
SCSS
$custom: #6a147c;
$custom-light: #985ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a147c",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 289.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.16941,
    "h": 319.7
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#6A147C
secondary
#4FB23A
accent
#EF3958
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A147C

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

Preview Lab → · Contrast checker → · Palette generator →

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