#6A147B#6A147B

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

Color values

HEX#6A147B
RGBrgb(106, 20, 123)
HSLhsl(290, 72%, 28%)
HSVhsv(290, 84%, 48%)
CMYKcmyk(13.8%, 83.7%, 0%, 51.8%)
CIE-LABlab(26.72, 50.07, -38.47)
CIE-LCHlch(26.72, 63.14, 322.47°)
OKLaboklab(39.07% 0.1294 -0.108)
OKLCHoklch(39.07% 0.169 320.1)
XYZxyz(9.7687, 4.9951, 19.1846)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A147B #257B14
analogous
#36147B #6A147B #7B1458
triadic
#6A147B #7B6A14 #147B6A
tetradic
#6A147B #7B3614 #257B14 #14587B
square
#6A147B #7B3614 #257B14 #14587B
split-complementary
#6A147B #587B14 #147B36
monochromatic
#17041A #3D0B46 #6A147B #971DB0 #C02DDD

Accessibility & contrast

On white

10.51
#6A147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A147B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A147B#FFFFFF#000000##FFFFFF
##6A147B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#1F4279
Tritanopia (blue-blind)
#6A2B49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a147b;
/* rgb */ color: rgb(106, 20, 123);
/* oklch */ color: oklch(39.1% 0.169 320.1);
Tailwind
colors: {
  custom: {
    50: '#985ea2',
    500: '#6a147b',
    950: '#000000',
  },
}
SCSS
$custom: #6a147b;
$custom-light: #985ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a147b",
  "rgb": {
    "r": 106,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 290.097,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.16855,
    "h": 320.1
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#6A147B
secondary
#4EB13A
accent
#EF3957
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A147B

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

Preview Lab → · Contrast checker → · Palette generator →

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