#6D1B76#6D1B76

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

Color values

HEX#6D1B76
RGBrgb(109, 27, 118)
HSLhsl(294, 63%, 28%)
HSVhsv(294, 77%, 46%)
CMYKcmyk(7.6%, 77.1%, 0%, 53.7%)
CIE-LABlab(27.69, 47.46, -33.70)
CIE-LCHlch(27.69, 58.21, 324.62°)
OKLaboklab(39.75% 0.1275 -0.094)
OKLCHoklch(39.75% 0.158 323.6)
XYZxyz(9.9683, 5.3437, 17.6424)
Luminance0.0534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B76 #24761B
analogous
#3F1B76 #6D1B76 #761B51
triadic
#6D1B76 #766D1B #1B766D
tetradic
#6D1B76 #763F1B #24761B #1B5176
square
#6D1B76 #763F1B #24761B #1B5176
split-complementary
#6D1B76 #51761B #1B763F
monochromatic
#170619 #3F1044 #6D1B76 #9B26A8 #C33AD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D1B76#FFFFFF#000000##FFFFFF
##6D1B761.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)
#003B78
Deuteranopia (green-blind)
#2B4574
Tritanopia (blue-blind)
#6F2C47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1b76;
/* rgb */ color: rgb(109, 27, 118);
/* oklch */ color: oklch(39.7% 0.158 323.6);
Tailwind
colors: {
  custom: {
    50: '#9a619e',
    500: '#6d1b76',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b76;
$custom-light: #9a619e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b76",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 294.066,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.15844,
    "h": 323.6
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#6D1B76
secondary
#4DAA42
accent
#E64252
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6D1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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