#6A147F#6A147F

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

Color values

HEX#6A147F
RGBrgb(106, 20, 127)
HSLhsl(288, 73%, 29%)
HSVhsv(288, 84%, 50%)
CMYKcmyk(16.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(27.01, 50.84, -40.53)
CIE-LCHlch(27.01, 65.02, 321.44°)
OKLaboklab(39.36% 0.1287 -0.1141)
OKLCHoklch(39.36% 0.172 318.4)
XYZxyz(10.0242, 5.0973, 20.5304)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A147F #297F14
analogous
#35147F #6A147F #7F145F
triadic
#6A147F #7F6A14 #147F6A
tetradic
#6A147F #7F3514 #297F14 #145F7F
square
#6A147F #7F3514 #297F14 #145F7F
split-complementary
#6A147F #5F7F14 #147F35
monochromatic
#16041A #3E0C4A #6A147F #961CB4 #BC2FDE

Accessibility & contrast

On white

10.40
#6A147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A147F
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A147F#FFFFFF#000000##FFFFFF
##6A147F1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#692D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a147f;
/* rgb */ color: rgb(106, 20, 127);
/* oklch */ color: oklch(39.4% 0.172 318.4);
Tailwind
colors: {
  custom: {
    50: '#985ea5',
    500: '#6a147f',
    950: '#000000',
  },
}
SCSS
$custom: #6a147f;
$custom-light: #985ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a147f",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 288.224,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3936,
    "c": 0.17199,
    "h": 318.4
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#6A147F
secondary
#52B43B
accent
#EF385C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A147F

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

Preview Lab → · Contrast checker → · Palette generator →

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