#6D1A7A#6D1A7A

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

Color values

HEX#6D1A7A
RGBrgb(109, 26, 122)
HSLhsl(292, 65%, 29%)
HSVhsv(292, 79%, 48%)
CMYKcmyk(10.7%, 78.7%, 0%, 52.2%)
CIE-LABlab(27.83, 48.58, -36.02)
CIE-LCHlch(27.83, 60.47, 323.45°)
OKLaboklab(39.93% 0.1281 -0.1008)
OKLCHoklch(39.93% 0.163 321.8)
XYZxyz(10.1885, 5.3957, 18.9134)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A7A #277A1A
analogous
#3D1A7A #6D1A7A #7A1A57
triadic
#6D1A7A #7A6D1A #1A7A6D
tetradic
#6D1A7A #7A3D1A #277A1A #1A577A
square
#6D1A7A #7A3D1A #277A1A #1A577A
split-complementary
#6D1A7A #577A1A #1A7A3D
monochromatic
#170519 #400F48 #6D1A7A #9A25AC #C039D5

Accessibility & contrast

On white

10.10
#6D1A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1A7A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A7A#FFFFFF#000000##FFFFFF
##6D1A7A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1a7a;
/* rgb */ color: rgb(109, 26, 122);
/* oklch */ color: oklch(39.9% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#9a61a1',
    500: '#6d1a7a',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a7a;
$custom-light: #9a61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a7a",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 291.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39931,
    "c": 0.16304,
    "h": 321.8
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#6D1A7A
secondary
#50AE41
accent
#E84057
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6D1A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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