#6F147B#6F147B

#6F147B is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.171 H 322.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#6F147B
RGBrgb(111, 20, 123)
HSLhsl(293, 72%, 28%)
HSVhsv(293, 84%, 48%)
CMYKcmyk(9.8%, 83.7%, 0%, 51.8%)
CIE-LABlab(27.60, 51.06, -37.00)
CIE-LCHlch(27.60, 63.06, 324.07°)
OKLaboklab(39.86% 0.1355 -0.1036)
OKLCHoklch(39.86% 0.171 322.6)
XYZxyz(10.3805, 5.3105, 19.2133)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F147B #207B14
analogous
#3C147B #6F147B #7B1453
triadic
#6F147B #7B6F14 #147B6F
tetradic
#6F147B #7B3C14 #207B14 #14537B
square
#6F147B #7B3C14 #207B14 #14537B
split-complementary
#6F147B #537B14 #147B3C
monochromatic
#18041A #3F0B46 #6F147B #9F1DB0 #C82DDD

Accessibility & contrast

On white

10.18
#6F147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6F147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F147B
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F147B#FFFFFF#000000##FFFFFF
##6F147B1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#264479
Tritanopia (blue-blind)
#712A49
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6f147b;
/* rgb */ color: rgb(111, 20, 123);
/* oklch */ color: oklch(39.9% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#9c5fa2',
    500: '#6f147b',
    950: '#000000',
  },
}
SCSS
$custom: #6f147b;
$custom-light: #9c5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f147b",
  "rgb": {
    "r": 111,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 293.01,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39857,
    "c": 0.17059,
    "h": 322.6
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

primary
#6F147B
secondary
#48B13A
accent
#EF394E
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6F147B

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

Preview Lab → · Contrast checker → · Palette generator →

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