#6D1B77#6D1B77

#6D1B77 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.159 H 323.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#6D1B77
RGBrgb(109, 27, 119)
HSLhsl(293, 63%, 29%)
HSVhsv(293, 77%, 47%)
CMYKcmyk(8.4%, 77.3%, 0%, 53.3%)
CIE-LABlab(27.76, 47.65, -34.23)
CIE-LCHlch(27.76, 58.68, 324.31°)
OKLaboklab(39.81% 0.1274 -0.0956)
OKLCHoklch(39.81% 0.159 323.1)
XYZxyz(10.0281, 5.3676, 17.9570)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B77 #25771B
analogous
#3F1B77 #6D1B77 #771B53
triadic
#6D1B77 #776D1B #1B776D
tetradic
#6D1B77 #773F1B #25771B #1B5377
square
#6D1B77 #773F1B #25771B #1B5377
split-complementary
#6D1B77 #53771B #1B773F
monochromatic
#170619 #3F1045 #6D1B77 #9B26A9 #C23AD2

Accessibility & contrast

On white

10.13
#6D1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1B77
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B77#FFFFFF#000000##FFFFFF
##6D1B771.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#2A4575
Tritanopia (blue-blind)
#6F2C48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1b77;
/* rgb */ color: rgb(109, 27, 119);
/* oklch */ color: oklch(39.8% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#9a619f',
    500: '#6d1b77',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b77;
$custom-light: #9a619f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b77",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 293.478,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39813,
    "c": 0.15931,
    "h": 323.1
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#6D1B77
secondary
#4EAB42
accent
#E64254
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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