#6D1A8B#6D1A8B

#6D1A8B is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.178 H 314.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6D1A8B
RGBrgb(109, 26, 139)
HSLhsl(284, 68%, 32%)
HSVhsv(284, 81%, 55%)
CMYKcmyk(21.6%, 81.3%, 0%, 45.5%)
CIE-LABlab(29.04, 51.97, -44.73)
CIE-LCHlch(29.04, 68.57, 319.28°)
OKLaboklab(41.17% 0.1256 -0.1264)
OKLCHoklch(41.17% 0.178 314.8)
XYZxyz(11.3355, 5.8545, 24.9540)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A8B #388B1A
analogous
#351A8B #6D1A8B #8B1A70
triadic
#6D1A8B #8B6D1A #1A8B6D
tetradic
#6D1A8B #8B351A #388B1A #1A708B
square
#6D1A8B #8B351A #388B1A #1A708B
split-complementary
#6D1A8B #708B1A #1A8B35
monochromatic
#1C0724 #451057 #6D1A8B #9524BF #B343DC

Accessibility & contrast

On white

9.67
#6D1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D1A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A8B
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A8B#FFFFFF#000000##FFFFFF
##6D1A8B1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#124689
Tritanopia (blue-blind)
#6A3553
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1a8b;
/* rgb */ color: rgb(109, 26, 139);
/* oklch */ color: oklch(41.2% 0.178 314.8);
Tailwind
colors: {
  custom: {
    50: '#9b62ae',
    500: '#6d1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a8b;
$custom-light: #9b62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a8b",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 284.071,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.17819,
    "h": 314.8
  },
  "luminance": 0.05854
}

Semantic roles & 50–950 ramp

primary
#6D1A8B
secondary
#64BD44
accent
#EB3C6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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