#6D1C74#6D1C74

#6D1C74 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.156 H 324.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#6D1C74
RGBrgb(109, 28, 116)
HSLhsl(295, 61%, 28%)
HSVhsv(295, 76%, 45%)
CMYKcmyk(6%, 75.9%, 0%, 54.5%)
CIE-LABlab(27.69, 46.72, -32.43)
CIE-LCHlch(27.69, 56.88, 325.24°)
OKLaboklab(39.7% 0.1266 -0.0903)
OKLCHoklch(39.7% 0.156 324.5)
XYZxyz(9.8741, 5.3433, 17.0309)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C74 #23741C
analogous
#411C74 #6D1C74 #741C4F
triadic
#6D1C74 #746D1C #1C746D
tetradic
#6D1C74 #74411C #23741C #1C4F74
square
#6D1C74 #74411C #23741C #1C4F74
split-complementary
#6D1C74 #4F741C #1C7441
monochromatic
#170619 #3F1043 #6D1C74 #9B28A5 #C43BD0

Accessibility & contrast

On white

10.15
#6D1C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D1C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C74
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C74#FFFFFF#000000##FFFFFF
##6D1C741.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#6F2B46
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1c74;
/* rgb */ color: rgb(109, 28, 116);
/* oklch */ color: oklch(39.7% 0.156 324.5);
Tailwind
colors: {
  custom: {
    50: '#9a619c',
    500: '#6d1c74',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c74;
$custom-light: #9a619c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c74",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 295.227,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.15554,
    "h": 324.5
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#6D1C74
secondary
#4BA843
accent
#E44450
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1C74

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

Preview Lab → · Contrast checker → · Palette generator →

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