#6A147E#6A147E

#6A147E is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.171 H 318.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6A147E
RGBrgb(106, 20, 126)
HSLhsl(289, 73%, 29%)
HSVhsv(289, 84%, 49%)
CMYKcmyk(15.9%, 84.1%, 0%, 50.6%)
CIE-LABlab(26.94, 50.65, -40.02)
CIE-LCHlch(26.94, 64.55, 321.69°)
OKLaboklab(39.29% 0.1289 -0.1126)
OKLCHoklch(39.29% 0.171 318.9)
XYZxyz(9.9594, 5.0713, 20.1889)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A147E #287E14
analogous
#35147E #6A147E #7E145D
triadic
#6A147E #7E6A14 #147E6A
tetradic
#6A147E #7E3514 #287E14 #145D7E
square
#6A147E #7E3514 #287E14 #145D7E
split-complementary
#6A147E #5D7E14 #147E35
monochromatic
#16041A #3E0C49 #6A147E #961CB3 #BD2EDE

Accessibility & contrast

On white

10.43
#6A147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A147E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A147E#FFFFFF#000000##FFFFFF
##6A147E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1C427C
Tritanopia (blue-blind)
#6A2D4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a147e;
/* rgb */ color: rgb(106, 20, 126);
/* oklch */ color: oklch(39.3% 0.171 318.9);
Tailwind
colors: {
  custom: {
    50: '#985ea4',
    500: '#6a147e',
    950: '#000000',
  },
}
SCSS
$custom: #6a147e;
$custom-light: #985ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a147e",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 288.679,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39286,
    "c": 0.17113,
    "h": 318.9
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A147E

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

Preview Lab → · Contrast checker → · Palette generator →

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