#6D147E#6D147E

#6D147E is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.172 H 320.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#6D147E
RGBrgb(109, 20, 126)
HSLhsl(290, 73%, 29%)
HSVhsv(290, 84%, 49%)
CMYKcmyk(13.5%, 84.1%, 0%, 50.6%)
CIE-LABlab(27.46, 51.23, -39.15)
CIE-LCHlch(27.46, 64.48, 322.61°)
OKLaboklab(39.75% 0.1327 -0.1099)
OKLCHoklch(39.75% 0.172 320.4)
XYZxyz(10.3223, 5.2584, 20.2059)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D147E #257E14
analogous
#38147E #6D147E #7E145A
triadic
#6D147E #7E6D14 #147E6D
tetradic
#6D147E #7E3814 #257E14 #145A7E
square
#6D147E #7E3814 #257E14 #145A7E
split-complementary
#6D147E #5A7E14 #147E38
monochromatic
#17041A #3F0C49 #6D147E #9B1CB3 #C22EDE

Accessibility & contrast

On white

10.24
#6D147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6D147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D147E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D147E#FFFFFF#000000##FFFFFF
##6D147E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#20447C
Tritanopia (blue-blind)
#6D2C4A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d147e;
/* rgb */ color: rgb(109, 20, 126);
/* oklch */ color: oklch(39.8% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#9b5fa4',
    500: '#6d147e',
    950: '#000000',
  },
}
SCSS
$custom: #6d147e;
$custom-light: #9b5fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d147e",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 290.377,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39754,
    "c": 0.17229,
    "h": 320.4
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#6D147E
secondary
#4EB33A
accent
#EF3856
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D147E

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

Preview Lab → · Contrast checker → · Palette generator →

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