#6D1A7B#6D1A7B

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

Color values

HEX#6D1A7B
RGBrgb(109, 26, 123)
HSLhsl(291, 65%, 29%)
HSVhsv(291, 79%, 48%)
CMYKcmyk(11.4%, 78.9%, 0%, 51.8%)
CIE-LABlab(27.90, 48.77, -36.54)
CIE-LCHlch(27.90, 60.94, 323.16°)
OKLaboklab(40% 0.128 -0.1023)
OKLCHoklch(40% 0.164 321.4)
XYZxyz(10.2508, 5.4206, 19.2414)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A7B #287B1A
analogous
#3D1A7B #6D1A7B #7B1A59
triadic
#6D1A7B #7B6D1A #1A7B6D
tetradic
#6D1A7B #7B3D1A #287B1A #1A597B
square
#6D1A7B #7B3D1A #287B1A #1A597B
split-complementary
#6D1A7B #597B1A #1A7B3D
monochromatic
#160519 #400F48 #6D1A7B #9A25AE #BF3AD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D1A7B#FFFFFF#000000##FFFFFF
##6D1A7B1.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)
#003C7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#6E2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1a7b;
/* rgb */ color: rgb(109, 26, 123);
/* oklch */ color: oklch(40.0% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#9a61a2',
    500: '#6d1a7b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a7b;
$custom-light: #9a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a7b",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 291.34,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4,
    "c": 0.16391,
    "h": 321.4
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#6D1A7B
secondary
#51AF42
accent
#E84058
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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