#6D1B79#6D1B79

#6D1B79 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.9% C 0.161 H 322.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6D1B79
RGBrgb(109, 27, 121)
HSLhsl(292, 64%, 29%)
HSVhsv(292, 78%, 47%)
CMYKcmyk(9.9%, 77.7%, 0%, 52.5%)
CIE-LABlab(27.89, 48.04, -35.29)
CIE-LCHlch(27.89, 59.61, 323.69°)
OKLaboklab(39.95% 0.1273 -0.0987)
OKLCHoklch(39.95% 0.161 322.2)
XYZxyz(10.1494, 5.4161, 18.5963)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B79 #27791B
analogous
#3E1B79 #6D1B79 #791B56
triadic
#6D1B79 #796D1B #1B796D
tetradic
#6D1B79 #793E1B #27791B #1B5679
square
#6D1B79 #793E1B #27791B #1B5679
split-complementary
#6D1B79 #56791B #1B793E
monochromatic
#170619 #401047 #6D1B79 #9A26AB #C03BD3

Accessibility & contrast

On white

10.08
#6D1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6D1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B79
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B79#FFFFFF#000000##FFFFFF
##6D1B791.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#294577
Tritanopia (blue-blind)
#6E2D49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1b79;
/* rgb */ color: rgb(109, 27, 121);
/* oklch */ color: oklch(39.9% 0.161 322.2);
Tailwind
colors: {
  custom: {
    50: '#9a61a0',
    500: '#6d1b79',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b79;
$custom-light: #9a61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b79",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 292.34,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.16107,
    "h": 322.2
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#6D1B79
secondary
#50AD43
accent
#E74156
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6D1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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