#6D1A84#6D1A84

#6D1A84 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.172 H 317.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6D1A84
RGBrgb(109, 26, 132)
HSLhsl(287, 67%, 31%)
HSVhsv(287, 80%, 52%)
CMYKcmyk(17.4%, 80.3%, 0%, 48.2%)
CIE-LABlab(28.53, 50.54, -41.20)
CIE-LCHlch(28.53, 65.21, 320.82°)
OKLaboklab(40.64% 0.1269 -0.116)
OKLCHoklch(40.64% 0.172 317.6)
XYZxyz(10.8403, 5.6564, 22.3461)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A84 #31841A
analogous
#381A84 #6D1A84 #841A66
triadic
#6D1A84 #846D1A #1A846D
tetradic
#6D1A84 #84381A #31841A #1A6684
square
#6D1A84 #84381A #31841A #1A6684
split-complementary
#6D1A84 #66841A #1A8438
monochromatic
#19061E #431051 #6D1A84 #9724B7 #B83FD9

Accessibility & contrast

On white

9.85
#6D1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A84
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A84#FFFFFF#000000##FFFFFF
##6D1A841.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#6C324F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d1a84;
/* rgb */ color: rgb(109, 26, 132);
/* oklch */ color: oklch(40.6% 0.172 317.6);
Tailwind
colors: {
  custom: {
    50: '#9b61a8',
    500: '#6d1a84',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a84;
$custom-light: #9b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a84",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 286.981,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.1719,
    "h": 317.6
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#6D1A84
secondary
#5CB842
accent
#EA3E63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6D1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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